/*
 Theme Name:   Divi Child – 68 Marketing
 Theme URI:    https://68marketing.com/
 Description:  Terracotta & charcoal child theme for 68 Marketing (nail supply).
 Author:       68 Marketing
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--m-terra: #C2553A;
	--m-terra-dk: #9E3F28;
	--m-clay: #F6E3DA;
	--m-sand: #FBF5F0;
	--m-char: #2B2B2E;
	--m-char-2: #3B3B40;
	--m-text: #55555C;
	--m-mustard: #E9B949;
	--m-line: rgba(43, 43, 46, .12);
	--m-radius: 16px;
	--m-shadow: 0 24px 46px -30px rgba(43, 43, 46, .55);
	--m-head: 'Lexend', 'Helvetica Neue', Arial, sans-serif;
	--m-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

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

/* 3. HEADER */
#top-header { background: var(--m-char) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--m-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 80%; }
#top-menu li { padding-right: 20px; }
#top-menu a, .et_mobile_menu a { font-family: var(--m-head); font-size: 14.5px; font-weight: 500; color: var(--m-char); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--m-terra) !important; opacity: 1; }
#top-menu li.current-menu-item > a:before { content: ""; position: absolute; left: -10px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--m-terra); transform: translateY(-80%); }
.et_mobile_menu { border-top-color: var(--m-terra); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--m-char); }

/* 4. HELPERS */
.b68m-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.m-eyebrow { display: inline-block; font-family: var(--m-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--m-terra); margin-bottom: 12px; }
.m-title { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; margin-bottom: 10px; }
.m-lead { font-size: 17.5px; line-height: 1.75; max-width: 640px; }
.m-center { text-align: center; }
.m-center .m-lead { margin: 0 auto; }
.m-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.m-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.m-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--m-terra); color: #fff !important; font-family: var(--m-head); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.m-btn:hover { background: var(--m-char); transform: translateY(-2px); }
.m-btn--dark { background: var(--m-char); }
.m-btn--dark:hover { background: var(--m-terra); }
.m-btn--light { background: #fff; color: var(--m-char) !important; }
.m-btn--light:hover { background: var(--m-mustard); }
.m-more { font-family: var(--m-head); font-weight: 600; font-size: 14.5px; color: var(--m-terra); text-decoration: none; }
.m-more:after { content: " \2197"; }
.m-badges, .m-badges li, .b68m-footer ul, .b68m-footer li { list-style: none !important; }

/* 5. HERO */
.m-hero { background: var(--m-sand); padding: 64px 0 56px !important; position: relative; overflow: hidden; }
.m-hero:after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--m-clay); right: -120px; top: -140px; }
.m-hero .et_pb_row { position: relative; z-index: 1; }
.m-hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; margin-bottom: 16px; }
.m-hero h1 mark { background: none; color: var(--m-terra); position: relative; }
.m-hero h1 mark:after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(233, 185, 73, .45); z-index: -1; border-radius: 4px; }
.m-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin-top: 22px; }
.m-badges li { background: #fff; border: 1px solid var(--m-line); border-radius: 999px; padding: 7px 14px; font-family: var(--m-head); font-size: 13px; font-weight: 500; color: var(--m-char); }
.m-badges li:before { content: "\2605"; color: var(--m-mustard); margin-right: 6px; }
.m-stat-card { background: var(--m-char); color: #fff; border-radius: 22px; padding: 32px 30px; }
.m-stat-card h3 { color: #fff; font-size: 20px; margin-bottom: 18px; padding-bottom: 0; }
.m-stat { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.m-stat b { font-family: var(--m-head); font-size: 30px; color: var(--m-mustard); min-width: 70px; }
.m-stat span { font-size: 15px; color: rgba(255, 255, 255, .8); }
.m-hero-banner { margin-top: 36px; }
.m-hero-banner .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--m-shadow); }
.m-hero-banner img { width: 100%; }

/* 6. CAMPAIGNS */
.m-campaigns { background: #fff; padding: 80px 0 70px !important; }
.m-camp-col { position: relative; }
.m-camp-col .et_pb_image { margin-bottom: 0 !important; }
.m-camp-col .et_pb_image_wrap { display: block; border-radius: var(--m-radius); overflow: hidden; box-shadow: var(--m-shadow); }
.m-camp-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.m-camp-col:hover .et_pb_image img { transform: scale(1.04); }
.m-camp { position: relative; margin: -34px 12px 0; background: #fff; border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 16px 30px -22px rgba(43, 43, 46, .6); z-index: 2; }
.m-camp i { position: absolute; top: -12px; right: 14px; font-style: normal; font-family: var(--m-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--m-terra); padding: 4px 10px; border-radius: 999px; }
.m-camp h3 { font-size: 18px; margin-bottom: 6px; padding-bottom: 0; }
.m-camp p { font-size: 15px; line-height: 1.55; margin-bottom: 8px; padding-bottom: 0; }

/* 7. SPOTLIGHT */
.m-spot { background: var(--m-char); padding: 80px 0 !important; }
.m-spot .m-title { color: #fff; }
.m-spot .m-lead { color: rgba(255, 255, 255, .78); }
.m-spot .m-eyebrow { color: var(--m-mustard); }
.m-spot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; margin-top: 26px; }
.m-spot-item { position: relative; border-radius: var(--m-radius); padding: 26px 24px; background: var(--m-char-2); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; transition: background .25s ease, transform .25s ease; }
.m-spot-item:hover { background: var(--m-terra); transform: translateY(-4px); }
.m-spot-item:first-child { grid-row: span 2; background: var(--m-terra); }
.m-spot-item:first-child:hover { background: var(--m-terra-dk); }
.m-spot-item small { font-family: var(--m-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--m-mustard); }
.m-spot-item:first-child small { color: #fff; }
.m-spot-item h3 { color: #fff; font-size: 21px; margin: 8px 0; padding-bottom: 0; }
.m-spot-item:first-child h3 { font-size: 30px; }
.m-spot-item p { flex: 1; color: rgba(255, 255, 255, .8); font-size: 15px; margin-bottom: 12px; padding-bottom: 0; }
.m-spot-item a { color: #fff; font-family: var(--m-head); font-weight: 600; font-size: 14px; text-decoration: none; }
.m-spot-item a:after { content: " \2192"; }
.m-spot-item a:before { content: ""; position: absolute; inset: 0; }
.m-spot-item br, .m-spot-item p:empty, .m-story br, .m-story-body p:empty, .m-trend br { display: none; }

/* 8. TREND REPORT */
.m-trend { background: var(--m-clay); padding: 80px 0 !important; }
.m-trend-list { counter-reset: t; margin-top: 18px; }
.m-trend-item { counter-increment: t; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(43, 43, 46, .14); }
.m-trend-item:before { content: "0" counter(t); font-family: var(--m-head); font-size: 34px; font-weight: 700; color: var(--m-terra); line-height: 1; }
.m-trend-item h3 { font-size: 19px; margin-bottom: 4px; padding-bottom: 0; }
.m-trend-item p { font-size: 15.5px; margin: 0; padding-bottom: 0; }
.m-trend-banner .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--m-shadow); transform: rotate(2deg); }
.m-trend-banner img { width: 100%; }

/* 9. STORIES */
.m-stories { background: #fff; padding: 80px 0 !important; }
.m-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 18px; }
.m-story { position: relative; display: flex; flex-direction: column; }
.m-story > p { display: contents; }
.m-story img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--m-radius); transition: transform .3s ease; }
.m-story:hover img { transform: translateY(-4px); }
.m-story-body { padding: 14px 4px 0; }
.m-story-body span { font-family: var(--m-head); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--m-terra); }
.m-story h3 { font-size: 19px; line-height: 1.35; margin: 4px 0 8px; padding-bottom: 0; }
.m-story .m-more:before { content: ""; position: absolute; inset: 0; }

/* 10. CTA */
.m-cta { background: var(--m-terra); padding: 64px 0 !important; }
.m-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.m-cta-box h2 { color: #fff; font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 6px; }
.m-cta-box p { color: rgba(255, 255, 255, .88); max-width: 580px; }

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

/* 12. BLOG */
.et_pb_post .entry-title a:hover { color: var(--m-terra); }
.post-meta a { color: var(--m-terra); }

/* 13. RESPONSIVE */
@media (max-width: 1100px) {
	.b68m-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.m-spot-grid { grid-template-columns: 1fr 1fr; }
	.m-spot-item:first-child { grid-column: span 2; grid-row: auto; }
	.m-story-grid { grid-template-columns: 1fr 1fr; }
	.m-campaigns, .m-spot, .m-trend, .m-stories { padding: 56px 0 !important; }
	.m-camp-col { margin-bottom: 26px !important; }
	.m-trend-banner .et_pb_image_wrap { transform: none; margin-top: 20px; }
}
@media (max-width: 640px) {
	.m-spot-grid, .m-story-grid { grid-template-columns: 1fr; }
	.m-spot-item:first-child { grid-column: auto; }
	.b68m-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.m-trend-item { grid-template-columns: 52px 1fr; }
}
