/*
 Theme Name:   Divi Child – 68 Listing
 Theme URI:    https://68listing.com/
 Description:  Navy & peach child theme for 68 Listing (nail supply).
 Author:       68 Listing
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--l-navy: #1F2D4D;
	--l-navy-2: #2C3E66;
	--l-peach: #F2A38A;
	--l-coral: #E07F62;
	--l-sand: #FFF4EE;
	--l-ice: #F4F6FB;
	--l-text: #4A5468;
	--l-line: rgba(31, 45, 77, .12);
	--l-radius: 14px;
	--l-shadow: 0 22px 44px -28px rgba(31, 45, 77, .55);
	--l-head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
	--l-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--l-body); color: var(--l-text); }
body { font-size: 17px; line-height: 1.7; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--l-head); color: var(--l-navy); font-weight: 700; letter-spacing: -.015em; }
a { color: var(--l-coral); }
a:hover { color: var(--l-navy); }
::selection { background: var(--l-peach); color: var(--l-navy); }

/* 3. HEADER */
#top-header { background: var(--l-navy) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--l-line); }
#main-header .container { width: 90%; max-width: 1240px; }
#logo { max-height: 78%; }
#top-menu li { padding-right: 20px; }
#top-menu a, .et_mobile_menu a { font-family: var(--l-head); font-size: 14px; font-weight: 600; color: var(--l-navy); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--l-coral) !important; opacity: 1; }
#top-menu li.current-menu-item > a { background: var(--l-sand); border-radius: 999px; padding: 8px 14px !important; margin: -8px -14px 0; }
.et_mobile_menu { border-top-color: var(--l-coral); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--l-navy); }

/* 4. HELPERS */
.l-wrap, .b68l-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.l-kick { display: inline-block; font-family: var(--l-head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--l-coral); background: var(--l-sand); padding: 6px 14px; border-radius: 6px; margin-bottom: 14px; }
.l-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 10px; }
.l-lead { font-size: 17.5px; line-height: 1.75; max-width: 660px; }
.l-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.l-btn { display: inline-block; padding: 14px 26px; border-radius: 10px; background: var(--l-coral); color: #fff !important; font-family: var(--l-head); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.l-btn:hover { background: var(--l-navy); transform: translateY(-2px); }
.l-btn--ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.l-btn--ghost:hover { background: #fff; color: var(--l-navy) !important; }
.l-more { font-family: var(--l-head); font-weight: 700; font-size: 14px; color: var(--l-coral); text-decoration: none; }
.l-more:after { content: " \2192"; }
.l-chips, .l-chips li, .b68l-footer ul, .b68l-footer li { list-style: none !important; }

/* 5. HERO */
.l-hero { background: var(--l-navy); padding: 70px 0 0 !important; position: relative; overflow: hidden; }
.l-hero:before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: #fff; }
.l-hero-text { text-align: center; color: #fff; max-width: 860px; margin: 0 auto; }
.l-hero-text .l-kick { background: rgba(242, 163, 138, .16); color: var(--l-peach); }
.l-hero-text h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin-bottom: 16px; font-weight: 800; }
.l-hero-text h1 span { color: var(--l-peach); }
.l-hero-text p { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 700px; margin: 0 auto; }
.l-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 !important; margin: 26px 0 40px; }
.l-chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-family: var(--l-head); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.l-chips a:hover { background: var(--l-peach); color: var(--l-navy); }
.l-hero-banner { position: relative; z-index: 1; }
.l-hero-banner .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 34px 60px -30px rgba(31, 45, 77, .7); border: 6px solid #fff; }
.l-hero-banner img { width: 100%; }

/* 6. TOP LISTINGS */
.l-top { background: #fff; padding: 70px 0 70px !important; }
.l-top-col { position: relative; background: #fff; border: 1px solid var(--l-line); border-radius: var(--l-radius); padding: 12px 12px 18px !important; transition: transform .3s ease, box-shadow .3s ease; }
.l-top-col:hover { transform: translateY(-6px); box-shadow: var(--l-shadow); }
.l-top-col .et_pb_image { margin-bottom: 14px !important; }
.l-top-col .et_pb_image_wrap { display: block; border-radius: 10px; overflow: hidden; }
.l-top-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.l-top-cap { padding: 0 6px; }
.l-top-cap .l-rank-badge { display: inline-block; font-family: var(--l-head); font-weight: 800; font-size: 13px; color: #fff; background: var(--l-navy); border-radius: 6px; padding: 3px 9px; margin-right: 8px; }
.l-top-cap .l-pill { display: inline-block; font-family: var(--l-head); font-size: 11.5px; font-weight: 700; color: var(--l-coral); background: var(--l-sand); border-radius: 6px; padding: 3px 9px; letter-spacing: .04em; }
.l-top-cap h3 { font-size: 18px; margin: 12px 0 6px; padding-bottom: 0; }
.l-top-cap p { font-size: 15px; line-height: 1.6; margin-bottom: 10px; padding-bottom: 0; }

/* 7. DIRECTORY */
.l-dir { background: var(--l-ice); padding: 80px 0 !important; }
.l-dir-table { background: #fff; border-radius: 18px; box-shadow: var(--l-shadow); overflow: hidden; margin-top: 16px; }
.l-dir-row { position: relative; display: grid; grid-template-columns: 1.1fr 1.6fr 110px 40px; gap: 18px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--l-line); transition: background .2s ease; }
.l-dir-row:last-child { border-bottom: 0; }
.l-dir-row:hover { background: var(--l-sand); }
.l-dir-head { background: var(--l-navy); color: #fff; font-family: var(--l-head); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: 14px; padding-bottom: 14px; }
.l-dir-head:hover { background: var(--l-navy); }
.l-dir-row h3 { font-size: 18px; margin: 0; padding-bottom: 0; }
.l-dir-row p { font-size: 15px; margin: 0; padding-bottom: 0; }
.l-dir-row .l-cnt { font-family: var(--l-head); font-weight: 700; }
.l-dir-row .l-cnt, .l-dir-row b { font-family: var(--l-head); font-size: 14px; color: var(--l-navy); }
.l-dir-row .l-arr, .l-dir-row i { font-style: normal; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--l-peach); color: var(--l-navy); font-weight: 700; }
.l-dir-row a { position: absolute; inset: 0; font-size: 0; }
.l-dir-row br, .l-dir-row p:empty, .l-item br, .l-item p:empty { display: none; }

/* 8. LATEST */
.l-latest { background: #fff; padding: 80px 0 !important; }
.l-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-top: 18px; }
.l-item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--l-line); transition: border-color .2s ease, background .2s ease; }
.l-item:hover { border-color: var(--l-peach); background: var(--l-sand); }
.l-item > p { display: contents; }
.l-item img { width: 96px; height: 96px !important; object-fit: cover; border-radius: 10px; display: block; }
.l-item span { font-family: var(--l-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--l-coral); }
.l-item h3 { font-size: 16.5px; line-height: 1.35; margin: 3px 0 0; padding-bottom: 0; }
.l-item a { position: absolute; inset: 0; font-size: 0; }

/* 9. HOW WE LIST */
.l-how { background: var(--l-sand); padding: 80px 0 !important; }
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 18px; counter-reset: s; }
.l-step { position: relative; background: #fff; border-radius: var(--l-radius); padding: 30px 26px 26px; counter-increment: s; }
.l-step:before { content: "0" counter(s); display: block; font-family: var(--l-head); font-size: 15px; font-weight: 800; color: #fff; background: var(--l-coral); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.l-step h3 { font-size: 19px; margin-bottom: 6px; padding-bottom: 0; }
.l-step p { font-size: 15.5px; padding-bottom: 0; }

/* 10. CTA */
.l-cta { background: #fff; padding: 20px 0 90px !important; }
.l-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--l-navy); border-radius: 22px; padding: 44px 48px; }
.l-cta-box h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 6px; }
.l-cta-box p { color: rgba(255, 255, 255, .8); max-width: 560px; }
.l-cta-box .l-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* 11. FOOTER */
#main-footer { display: none !important; }
.b68l-footer { background: var(--l-ice); border-top: 1px solid var(--l-line); padding: 64px 0 0; font-size: 15.5px; }
.b68l-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68l-footer-logo img { width: 220px; height: auto; display: block; margin-bottom: 16px; }
.b68l-footer p { color: var(--l-text); }
.b68l-footer h4 { font-family: var(--l-head); font-size: 15px; color: var(--l-navy); margin-bottom: 14px; padding-bottom: 0; }
.b68l-footer ul { padding: 0 !important; margin: 0; }
.b68l-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68l-footer a { color: var(--l-navy); text-decoration: none; }
.b68l-footer a:hover { color: var(--l-coral); }
.b68l-footer-bottom { background: var(--l-navy); color: rgba(255, 255, 255, .8); padding: 16px 0; text-align: center; font-size: 13.5px; }

/* 12. BLOG */
.et_pb_post .entry-title a:hover { color: var(--l-coral); }
.post-meta a { color: var(--l-coral); }

/* 13. RESPONSIVE */
@media (max-width: 1100px) {
	.b68l-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.l-list, .l-steps { grid-template-columns: 1fr; }
	.l-dir-row { grid-template-columns: 1fr 34px; }
	.l-dir-row p, .l-dir-row b, .l-dir-row .l-cnt, .l-dir-head span:nth-child(2), .l-dir-head span:nth-child(3) { display: none; }
	.l-top, .l-dir, .l-latest, .l-how { padding: 56px 0 !important; }
	.l-cta-box { padding: 34px 26px; }
}
@media (max-width: 640px) {
	.b68l-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.l-hero { padding-top: 46px !important; }
}
