/*
 Theme Name:   Divi Child – 68 Track
 Theme URI:    https://68track.com/
 Description:  Periwinkle & peach child theme for 68 Track (nail supply).
 Author:       68 Track
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--t-peri: #6E62C8;
	--t-peri-dk: #5246A8;
	--t-peri-lt: #EFEDFB;
	--t-peach: #F29A78;
	--t-peach-dk: #D97A57;
	--t-peach-lt: #FFF1EA;
	--t-night: #262A44;
	--t-night-2: #323756;
	--t-text: #555A6E;
	--t-line: rgba(38, 42, 68, .12);
	--t-radius: 18px;
	--t-shadow: 0 26px 48px -30px rgba(38, 42, 68, .6);
	--t-head: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
	--t-body: 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--t-body); color: var(--t-text); }
body { font-size: 16.5px; line-height: 1.75; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--t-head); color: var(--t-night); font-weight: 800; letter-spacing: -.02em; }
a { color: var(--t-peri); }
a:hover { color: var(--t-peach-dk); }
::selection { background: var(--t-peri); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--t-night) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--t-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 62%; }
#top-menu li { padding-right: 18px; }
#top-menu a, .et_mobile_menu a { font-family: var(--t-head); font-size: 14.5px; font-weight: 700; color: var(--t-night); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--t-peri) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--t-peri); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--t-night); }

/* 4. HELPERS */
.b68t-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.t-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--t-head); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--t-peri); margin-bottom: 12px; }
.t-eyebrow:before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--t-peach); }
.t-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; margin-bottom: 10px; }
.t-lead { font-size: 17px; line-height: 1.75; max-width: 640px; }
.t-center { text-align: center; }
.t-center .t-lead { margin: 0 auto; }
.t-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.t-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--t-peri); color: #fff !important; font-family: var(--t-head); font-weight: 800; font-size: 15.5px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.t-btn:hover { background: var(--t-peri-dk); transform: translateY(-2px); }
.t-btn--peach { background: var(--t-peach); color: var(--t-night) !important; }
.t-btn--peach:hover { background: #fff; }
.t-btn--line { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.t-btn--line:hover { background: #fff; color: var(--t-night) !important; }
.t-more { font-family: var(--t-head); font-weight: 800; font-size: 15px; color: var(--t-peri); text-decoration: none; }
.t-more:after { content: " \2192"; }
.t-stats, .t-stats li, .t-rank, .t-rank li, .b68t-footer ul, .b68t-footer li { list-style: none !important; }
.t-track br, .t-track p:empty, .t-radar br, .t-radar p:empty, .t-season br, .t-season p:empty, .t-rank br, .t-post br, .t-post-body p:empty, .t-stats br { display: none; }

/* 5. HERO */
.t-hero { background: var(--t-night); padding: 70px 0 70px !important; position: relative; overflow: hidden; }
.t-hero:before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 2px; background-image: linear-gradient(90deg, var(--t-peach) 50%, transparent 50%); background-size: 22px 2px; opacity: .35; transform: rotate(-4deg); }
.t-hero .et_pb_row { position: relative; z-index: 1; }
.t-hero h1 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; margin-bottom: 16px; }
.t-hero h1 span { color: var(--t-peach); }
.t-hero .t-lead { color: rgba(255, 255, 255, .78); }
.t-hero .t-eyebrow { color: #B8B0F2; }
.t-stats { display: flex; flex-wrap: wrap; gap: 26px; padding: 0 !important; margin: 28px 0 0; }
.t-stats li { color: rgba(255, 255, 255, .7); font-size: 13.5px; line-height: 1.3; }
.t-stats li b { display: block; font-family: var(--t-head); font-size: 26px; color: #fff; }
.t-hero-banner .et_pb_image_wrap { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); }
.t-hero-banner img { width: 100%; display: block; }

/* 6. TRACKS */
.t-tracks { background: #fff; padding: 80px 0 70px !important; }
.t-track-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-top: 30px; }
.t-track { position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 18px; border-radius: 16px; background: var(--t-peri-lt); transition: background .25s ease, transform .25s ease; }
.t-track:hover { background: var(--t-peach-lt); transform: translateX(4px); }
.t-track b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--t-peri); font-family: var(--t-head); font-weight: 800; font-size: 17px; box-shadow: inset 0 0 0 3px var(--t-peri); }
.t-track h3 { font-size: 17.5px; line-height: 1.3; margin-bottom: 2px; padding-bottom: 0; }
.t-track p { font-size: 14px; line-height: 1.5; margin: 0; padding-bottom: 0; }
.t-track a { font-family: var(--t-head); font-weight: 800; font-size: 13.5px; color: var(--t-peach-dk); text-decoration: none; white-space: nowrap; }
.t-track a:after { content: " \2192"; }
.t-track a:before { content: ""; position: absolute; inset: 0; }

/* 7. RADAR */
.t-radar-sec { background: var(--t-peach-lt); padding: 80px 0 64px !important; }
.t-radar-col .et_pb_image { margin-bottom: 0 !important; }
.t-radar-col .et_pb_image_wrap { display: block; border-radius: var(--t-radius) var(--t-radius) 0 0; overflow: hidden; }
.t-radar-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.t-radar-col:hover .et_pb_image img { transform: scale(1.04); }
.t-radar { background: #fff; border-radius: 0 0 var(--t-radius) var(--t-radius); padding: 18px 18px 20px; box-shadow: 0 18px 32px -26px rgba(38, 42, 68, .6); }
.t-radar small { font-family: var(--t-head); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--t-peach-dk); }
.t-radar h3 { font-size: 18.5px; margin: 4px 0 6px; padding-bottom: 0; }
.t-radar p { font-size: 14.5px; line-height: 1.55; margin-bottom: 10px; padding-bottom: 0; }
.t-meter { height: 6px; border-radius: 6px; background: var(--t-peri-lt); margin: 4px 0 12px; overflow: hidden; }
.t-meter span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--t-peri), var(--t-peach)); }

/* 8. SEASON */
.t-season-sec { background: #fff; padding: 80px 0 !important; }
.t-seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.t-season { position: relative; border-radius: var(--t-radius); padding: 26px 22px 22px; border: 1px solid var(--t-line); background: #fff; transition: box-shadow .25s ease, transform .25s ease; }
.t-season:hover { transform: translateY(-4px); box-shadow: var(--t-shadow); }
.t-season:before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--t-peri); }
.t-season:nth-child(2):before { background: #8FB6E8; }
.t-season:nth-child(3):before { background: #E99BBE; }
.t-season:nth-child(4):before { background: var(--t-peach); }
.t-season small { font-family: var(--t-head); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--t-text); }
.t-season h3 { font-size: 19px; margin: 6px 0 6px; padding-bottom: 0; }
.t-season p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; padding-bottom: 0; }
.t-season a { font-family: var(--t-head); font-weight: 800; font-size: 14px; color: var(--t-peri); text-decoration: none; }
.t-season a:after { content: " \2192"; }

/* 9. MOST TRACKED */
.t-top { background: var(--t-night); padding: 80px 0 !important; }
.t-top .t-title { color: #fff; }
.t-top .t-lead { color: rgba(255, 255, 255, .75); }
.t-top .t-eyebrow { color: #B8B0F2; }
.t-rank { counter-reset: rk; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.t-rank li { counter-increment: rk; position: relative; display: grid; grid-template-columns: 44px 76px 1fr; gap: 16px; align-items: center; padding: 10px 16px 10px 14px; background: var(--t-night-2); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); transition: background .25s ease; }
.t-rank li:hover { background: #3E4468; }
.t-rank li:before { content: "0" counter(rk); font-family: var(--t-head); font-weight: 800; font-size: 22px; color: var(--t-peach); }
.t-rank img { width: 76px !important; height: 76px !important; object-fit: cover; border-radius: 12px; display: block; }
.t-rank span { font-family: var(--t-head); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #B8B0F2; }
.t-rank h3 { color: #fff; font-size: 16.5px; line-height: 1.35; margin: 2px 0 0; padding-bottom: 0; }
.t-rank a { color: inherit; text-decoration: none; }
.t-rank a:before { content: ""; position: absolute; inset: 0; }

/* 10. LATEST */
.t-latest { background: var(--t-peri-lt); padding: 80px 0 !important; }
.t-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.t-post { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--t-radius); overflow: hidden; box-shadow: 0 16px 30px -26px rgba(38, 42, 68, .7); transition: transform .3s ease; }
.t-post:hover { transform: translateY(-4px); }
.t-post > p { display: contents; }
.t-post img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.t-post-body { padding: 16px 20px 20px; }
.t-post-body span { font-family: var(--t-head); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--t-peach-dk); }
.t-post h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 8px; padding-bottom: 0; }
.t-post .t-more:before { content: ""; position: absolute; inset: 0; }

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

/* 12. FOOTER */
#main-footer { display: none !important; }
.b68t-footer { background: var(--t-peach-lt); border-top: 4px solid var(--t-peri); padding: 64px 0 0; font-size: 15.5px; }
.b68t-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.b68t-footer-logo img { width: 200px; height: auto; display: block; margin-bottom: 16px; }
.b68t-footer p { color: var(--t-text); }
.b68t-footer h4 { font-family: var(--t-head); font-size: 16.5px; color: var(--t-night); margin-bottom: 14px; padding-bottom: 0; }
.b68t-footer ul { padding: 0 !important; margin: 0; }
.b68t-footer li { margin-bottom: 9px; line-height: 1.45; }
.b68t-footer a { color: var(--t-night); text-decoration: none; }
.b68t-footer a:hover { color: var(--t-peri); }
.b68t-footer-bottom { background: var(--t-night); 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(--t-peri); }
.post-meta a { color: var(--t-peri); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.t-seasons { grid-template-columns: 1fr 1fr; }
	.b68t-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 12px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.t-hero-banner { margin-top: 30px; }
	.t-track-list { grid-template-columns: 1fr; }
	.t-post-grid { grid-template-columns: 1fr 1fr; }
	.t-tracks, .t-radar-sec, .t-season-sec, .t-top, .t-latest { padding: 56px 0 !important; }
	.t-radar-col { margin-bottom: 26px !important; }
	.t-rank-col { margin-top: 26px; }
}
@media (max-width: 640px) {
	.t-seasons, .t-post-grid { grid-template-columns: 1fr; }
	.t-track { grid-template-columns: 44px 1fr; }
	.t-track b { width: 44px; height: 44px; font-size: 15px; }
	.t-track a { grid-column: 2; }
	.t-rank li { grid-template-columns: 34px 60px 1fr; gap: 12px; }
	.t-rank img { width: 60px !important; height: 60px !important; }
	.b68t-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
