/*
 Theme Name:   Divi Child – Dynamic Nail Supply Network
 Theme URI:    https://dynamicnailsupply.net/
 Description:  Ocean blue & blush pink child theme for Dynamic Nail Supply Network (nail supply).
 Author:       Dynamic Nail Supply Network
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--n-blue: #2B7CB3;
	--n-blue-dk: #1E5F8C;
	--n-sky: #EAF3FA;
	--n-ink: #18243A;
	--n-ink-2: #22324D;
	--n-pink: #F4B6C2;
	--n-pink-dk: #D9788D;
	--n-pink-lt: #FDEEF1;
	--n-text: #4F5B6B;
	--n-line: rgba(24, 36, 58, .12);
	--n-radius: 18px;
	--n-shadow: 0 22px 40px -28px rgba(24, 36, 58, .5);
	--n-head: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--n-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

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

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

/* 4. HELPERS */
.dnsn-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.n-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--n-head); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n-blue); margin-bottom: 12px; }
.n-eyebrow:before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--n-pink); box-shadow: 14px 0 0 var(--n-blue); margin-right: 14px; }
.n-title { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.2; margin-bottom: 12px; }
.n-title em { font-style: normal; color: var(--n-blue); background: linear-gradient(transparent 62%, var(--n-pink-lt) 62%); }
.n-lead { font-size: 18px; line-height: 1.72; max-width: 640px; }
.n-center { text-align: center; }
.n-center .n-lead { margin: 0 auto; }
.n-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.n-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--n-blue); color: #fff !important; font-family: var(--n-head); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .25s ease, transform .25s ease; }
.n-btn:hover { background: var(--n-ink); transform: translateY(-2px); }
.n-btn--pink { background: var(--n-pink); color: var(--n-ink) !important; }
.n-btn--pink:hover { background: var(--n-pink-dk); color: #fff !important; }
.n-btn--white { background: #fff; color: var(--n-ink) !important; }
.n-btn--white:hover { background: var(--n-pink); }
.n-link { display: table; margin-top: 6px; font-family: var(--n-head); font-weight: 600; font-size: 14px; color: var(--n-blue); text-decoration: none; }
.n-link:after { content: " \2192"; }
.n-hubs, .n-hubs li, .n-tips, .n-tips li, .n-stats, .n-stats li, .dnsn-footer ul, .dnsn-footer li { list-style: none !important; }
.n-hubs br, .n-hubs p:empty, .n-drop br, .n-drop p:empty, .n-tips br, .n-tips p:empty, .n-feed br, .n-post-body p:empty, .n-stats br, .n-compare br, .n-compare p:empty { display: none; }
.n-hubs > p, .n-hubs li > p, .n-feed > p, .n-post > p, .n-tips > p, .n-tips li > p, .n-stats > p, .n-compare > p, .n-compare div > p { display: contents; }

/* 5. HERO */
.n-hero { background: linear-gradient(135deg, var(--n-sky) 0%, #fff 55%, var(--n-pink-lt) 100%); padding: 66px 0 72px !important; position: relative; overflow: hidden; }
.n-hero:before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(43, 124, 179, .18) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 45%); mask-image: linear-gradient(90deg, #000 0, transparent 45%); pointer-events: none; }
.n-hero .et_pb_row { position: relative; z-index: 1; }
.n-hero h1 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.14; margin-bottom: 16px; }
.n-hero h1 em { font-style: normal; color: var(--n-blue); }
.n-stats { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 !important; margin: 30px 0 0; }
.n-stats li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 10px 24px -18px rgba(24, 36, 58, .6); font-size: 14.5px; line-height: 1.3; }
.n-stats li b { font-family: var(--n-head); font-size: 22px; color: var(--n-blue); }
.n-hero-img .et_pb_image_wrap { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--n-shadow); }
.n-hero-img img { width: 100%; display: block; }

/* 6. SUPPLY HUBS */
.n-hubs-sec { background: #fff; padding: 84px 0 72px !important; }
.n-hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 !important; margin: 38px 0 0; counter-reset: hb; position: relative; }
.n-hubs li { counter-increment: hb; position: relative; padding: 26px 24px 22px; border-radius: var(--n-radius); background: #fff; border: 1.5px solid var(--n-line); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.n-hubs li:hover { border-color: var(--n-blue); transform: translateY(-4px); box-shadow: var(--n-shadow); }
.n-hubs li:before { content: counter(hb, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--n-sky); color: var(--n-blue); font-family: var(--n-head); font-weight: 700; font-size: 15px; margin-bottom: 14px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--n-pink); }
.n-hubs h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; padding-bottom: 0; }
.n-hubs p { font-size: 15.5px; line-height: 1.6; margin: 0 0 8px; padding-bottom: 0; }
.n-hubs a { display: table; font-family: var(--n-head); font-weight: 600; font-size: 14px; color: var(--n-blue); text-decoration: none; }
.n-hubs a:after { content: " \2192"; }
.n-hubs a:before { content: ""; position: absolute; inset: 0; }

/* 7. COLOR DROPS */
.n-drops { background: var(--n-sky); padding: 84px 0 70px !important; }
.n-drop-col .et_pb_image { margin-bottom: 0 !important; }
.n-drop-col .et_pb_image_wrap { display: block; border-radius: var(--n-radius); overflow: hidden; box-shadow: var(--n-shadow); }
.n-drop-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.n-drop-col:hover .et_pb_image img { transform: scale(1.04); }
.n-drop { padding: 20px 4px 0; }
.n-drop small { display: inline-block; font-family: var(--n-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--n-ink); background: var(--n-pink); border-radius: 999px; padding: 4px 12px; }
.n-drop h3 { font-size: 22px; margin: 10px 0 6px; padding-bottom: 0; }
.n-drop p { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; padding-bottom: 0; }

/* 8. TIP LAB */
.n-tiplab { background: #fff; padding: 86px 0 !important; }
.n-tip-img .et_pb_image_wrap { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--n-shadow); }
.n-tip-img img { width: 100%; display: block; }
.n-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.n-compare div { border-radius: 14px; padding: 18px 18px 16px; background: var(--n-sky); }
.n-compare div:last-child { background: var(--n-pink-lt); }
.n-compare h4 { font-size: 16px; margin-bottom: 6px; padding-bottom: 0; }
.n-compare span { display: block; font-size: 15px; line-height: 1.55; margin-bottom: 4px; }
.n-compare span:before { content: "\2713  "; color: var(--n-blue); font-weight: 700; }
.n-compare div:last-child span:before { color: var(--n-pink-dk); }

/* 9. PRO TIPS (dark) */
.n-protips { background: var(--n-ink); padding: 86px 0 !important; }
.n-protips .n-title { color: #fff; }
.n-protips .n-title em { color: var(--n-pink); background: none; }
.n-protips .n-lead { color: rgba(255, 255, 255, .8); }
.n-protips .n-eyebrow { color: var(--n-pink); }
.n-pro-img .et_pb_image_wrap { display: block; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); }
.n-pro-img img { width: 100%; display: block; }
.n-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 !important; margin: 24px 0 0; counter-reset: tp; }
.n-tips li { counter-increment: tp; position: relative; padding: 18px 18px 16px; border-radius: 14px; background: var(--n-ink-2); }
.n-tips li:before { content: "Tip " counter(tp); display: block; font-family: var(--n-head); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--n-pink); margin-bottom: 6px; }
.n-tips h3 { color: #fff; font-size: 16.5px; margin-bottom: 4px; padding-bottom: 0; }
.n-tips p { color: rgba(255, 255, 255, .76); font-size: 15px; margin: 0; padding-bottom: 0; line-height: 1.55; }
.n-protips .n-btn { background: var(--n-pink); color: var(--n-ink) !important; }
.n-protips .n-btn:hover { background: #fff; }

/* 10. NETWORK FEED */
.n-feed-sec { background: var(--n-pink-lt); padding: 84px 0 !important; }
.n-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.n-post { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--n-radius); overflow: hidden; box-shadow: 0 16px 30px -26px rgba(24, 36, 58, .7); transition: transform .25s ease; }
.n-post:hover { transform: translateY(-4px); }
.n-post img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.n-post-body { padding: 16px 20px 20px; }
.n-post-body span { font-family: var(--n-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--n-blue); }
.n-post h3 { font-size: 17px; line-height: 1.45; margin: 6px 0 8px; padding-bottom: 0; }
.n-post .n-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.n-cta { background: linear-gradient(110deg, var(--n-blue-dk) 0%, var(--n-blue) 55%, #5FA3D3 100%); padding: 60px 0 !important; }
.n-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.n-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 6px; }
.n-cta-box p { color: rgba(255, 255, 255, .92); max-width: 620px; }

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

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.dnsn-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 13px; }
}
@media (max-width: 980px) {
	.n-hero-img { margin-top: 40px; }
	.n-hubs, .n-feed { grid-template-columns: 1fr 1fr; }
	.n-hubs-sec, .n-drops, .n-tiplab, .n-protips, .n-feed-sec { padding: 58px 0 !important; }
	.n-drop-col { margin-bottom: 28px !important; }
	.n-tip-text, .n-pro-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.n-hubs, .n-feed, .n-tips, .n-compare { grid-template-columns: 1fr; }
	.dnsn-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
