/*
 Theme Name:   Divi Child – Monto Monaco
 Theme URI:    https://montomonaco.com/
 Description:  Rosé, marine & champagne child theme for Monto Monaco (nail supply).
 Author:       Monto Monaco
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--m-rose: #E28A9B;
	--m-rose-dk: #C66B7E;
	--m-rose-lt: #FBEDEF;
	--m-marine: #16324F;
	--m-marine-2: #1F4266;
	--m-champ: #C8A96A;
	--m-champ-lt: #F5EEDF;
	--m-champ-dk: #9C7B3F;
	--m-ivory: #FCFAF6;
	--m-text: #4C5560;
	--m-line: rgba(22, 50, 79, .13);
	--m-radius: 6px;
	--m-shadow: 0 24px 44px -30px rgba(22, 50, 79, .6);
	--m-head: 'Playfair Display', Georgia, serif;
	--m-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--m-body); color: var(--m-text); font-weight: 400; }
body { font-size: 17px; line-height: 1.75; background: #fff; }
body strong, body b { font-weight: 600; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--m-head); color: var(--m-marine); font-weight: 600; letter-spacing: 0; }
a { color: var(--m-rose-dk); }
a:hover { color: var(--m-marine); }
::selection { background: var(--m-rose); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--m-marine) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--m-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 86%; }
.et-fixed-header #logo { max-height: 86%; }
#top-menu li { padding-right: 16px; }
#top-menu a, .et_mobile_menu a { font-family: var(--m-body); font-size: 14.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--m-marine); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--m-rose-dk) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--m-champ); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--m-marine); }

/* 4. HELPERS */
.mtm-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.m-tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--m-body); font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--m-champ-dk); margin-bottom: 14px; }
.m-tag:before { content: ""; width: 30px; height: 1px; background: currentColor; }
.m-title { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.18; margin-bottom: 14px; }
.m-title em { color: var(--m-rose-dk); font-weight: 500; }
.m-lead { font-size: 17.5px; line-height: 1.78; max-width: 640px; }
.m-center { text-align: center; }
.m-center .m-lead { margin: 0 auto; }
.m-center .m-tag:after { content: ""; width: 30px; height: 1px; background: currentColor; }
.m-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.m-btn { display: inline-block; padding: 14px 30px; border-radius: 0; background: var(--m-marine); color: #fff !important; font-family: var(--m-body); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .25s ease, color .25s ease; }
.m-btn:hover { background: var(--m-rose-dk); }
.m-btn--line { background: transparent; color: var(--m-marine) !important; box-shadow: inset 0 0 0 1px var(--m-marine); }
.m-btn--line:hover { background: var(--m-marine); color: #fff !important; }
.m-link { display: table; margin-top: 6px; font-family: var(--m-body); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--m-rose-dk); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.m-atelier, .m-atelier li, .m-notes, .m-notes li, .m-specs, .m-specs li, .mtm-footer ul, .mtm-footer li { list-style: none !important; }
.m-atelier br, .m-atelier p:empty, .m-notes br, .m-notes p:empty, .m-specs br, .m-journal br, .m-card-body p:empty, .m-edit br, .m-edit p:empty { display: none; }
.m-atelier > p, .m-atelier li > p, .m-notes > p, .m-notes li > p, .m-specs > p, .m-journal > p, .m-card > p { display: contents; }

/* 5. HERO */
.m-hero { background: var(--m-marine); padding: 70px 0 76px !important; position: relative; overflow: hidden; }
.m-hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--m-rose), var(--m-champ)); }
.m-hero h1 { color: #fff; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.1; margin-bottom: 18px; }
.m-hero h1 em { color: var(--m-rose); font-weight: 500; }
.m-hero .m-lead, .m-hero p { color: rgba(255, 255, 255, .82); }
.m-hero .m-tag { color: var(--m-champ); }
.m-hero .m-btn { background: var(--m-rose); color: var(--m-marine) !important; }
.m-hero .m-btn:hover { background: #fff; }
.m-hero .m-btn--line { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.m-hero .m-btn--line:hover { background: #fff; color: var(--m-marine) !important; }
.m-specs { display: flex; flex-wrap: wrap; gap: 0; padding: 0 !important; margin: 34px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.m-specs li { flex: 1 1 120px; padding: 16px 18px 0 0; color: rgba(255, 255, 255, .75); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.m-specs li b { display: block; font-family: var(--m-head); font-size: 30px; font-weight: 500; color: var(--m-champ); letter-spacing: 0; text-transform: none; }
.m-hero-img .et_pb_image_wrap { display: block; overflow: hidden; border-radius: 240px 240px var(--m-radius) var(--m-radius); border: 1px solid rgba(200, 169, 106, .7); padding: 10px; }
.m-hero-img img { width: 100%; display: block; border-radius: 230px 230px 2px 2px; }

/* 6. RIVIERA EDIT */
.m-edit-sec { background: var(--m-ivory); padding: 86px 0 72px !important; }
.m-edit-col .et_pb_image { margin-bottom: 0 !important; }
.m-edit-col .et_pb_image_wrap { display: block; overflow: hidden; border-radius: var(--m-radius); }
.m-edit-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.m-edit-col:hover .et_pb_image img { transform: scale(1.04); }
.m-edit { padding: 22px 4px 0; border-top: 2px solid var(--m-champ); margin-top: 18px; }
.m-edit small { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--m-champ-dk); }
.m-edit h3 { font-size: 25px; margin: 6px 0 8px; padding-bottom: 0; }
.m-edit p { font-size: 15.5px; line-height: 1.65; margin-bottom: 10px; padding-bottom: 0; }

/* 7. CLEAR AMBITION */
.m-clear { background: var(--m-champ-lt); padding: 86px 0 !important; }
.m-clear-img .et_pb_image_wrap { display: block; overflow: hidden; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.m-clear-img img { width: 100%; display: block; }
.m-steps { counter-reset: st; margin: 20px 0 0; }
.m-steps > p { display: contents; }
.m-steps br { display: none; }
.m-steps div { position: relative; padding: 12px 0 12px 54px; border-bottom: 1px solid var(--m-line); font-size: 15.5px; line-height: 1.6; }
.m-steps div:before { counter-increment: st; content: counter(st, upper-roman); position: absolute; left: 0; top: 10px; font-family: var(--m-head); font-size: 22px; font-style: italic; color: var(--m-rose-dk); }
.m-steps strong { color: var(--m-marine); }

/* 8. ATELIER (categories) */
.m-atelier-sec { background: #fff; padding: 86px 0 74px !important; }
.m-atelier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 !important; margin: 40px 0 0; border-top: 1px solid var(--m-line); border-left: 1px solid var(--m-line); }
.m-atelier li { position: relative; padding: 32px 28px 28px; border-right: 1px solid var(--m-line); border-bottom: 1px solid var(--m-line); transition: background .3s ease; }
.m-atelier li:hover { background: var(--m-rose-lt); }
.m-atelier span { display: block; font-family: var(--m-head); font-size: 40px; font-style: italic; line-height: 1; color: var(--m-champ); margin-bottom: 14px; }
.m-atelier h3 { font-size: 22px; line-height: 1.3; margin: 0 0 8px; padding-bottom: 0; }
.m-atelier p { font-size: 15px; line-height: 1.62; margin: 0 0 12px; padding-bottom: 0; }
.m-atelier a { display: table; margin-top: 4px; font-size: 13.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--m-rose-dk); text-decoration: none; }
.m-atelier a:before { content: ""; position: absolute; inset: 0; }

/* 9. ATELIER NOTES (quote band) */
.m-notes-sec { background: var(--m-rose-lt); padding: 80px 0 !important; }
.m-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 0 !important; margin: 36px 0 0; }
.m-notes li { background: #fff; padding: 30px 28px; border-radius: var(--m-radius); position: relative; }
.m-notes li:before { content: "\201C"; position: absolute; top: 6px; right: 20px; font-family: var(--m-head); font-size: 70px; line-height: 1; color: var(--m-rose); opacity: .5; }
.m-notes h3 { font-size: 20px; line-height: 1.35; margin: 0 0 8px; padding-bottom: 0; }
.m-notes p { font-size: 15.5px; line-height: 1.65; margin: 0; padding-bottom: 0; }
.m-notes a { font-weight: 500; text-decoration: none; }

/* 10. JOURNAL */
.m-journal-sec { background: #fff; padding: 86px 0 !important; }
.m-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; margin-top: 30px; }
.m-card { position: relative; display: flex; flex-direction: column; background: #fff; }
.m-card img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--m-radius); transition: opacity .3s ease; }
.m-card:hover img { opacity: .88; }
.m-card-body { padding: 16px 2px 0; }
.m-card-body span { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--m-champ-dk); }
.m-card h3 { font-size: 20px; line-height: 1.38; margin: 6px 0 8px; padding-bottom: 0; }
.m-card .m-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.m-cta { background: var(--m-marine-2); padding: 62px 0 !important; border-top: 1px solid var(--m-champ); }
.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.6vw, 38px); margin-bottom: 6px; }
.m-cta-box h2 em { color: var(--m-rose); font-weight: 500; }
.m-cta-box p { color: rgba(255, 255, 255, .85); max-width: 620px; }
.m-cta .m-btn { background: var(--m-champ); color: var(--m-marine) !important; }
.m-cta .m-btn:hover { background: #fff; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.mtm-footer { background: var(--m-ivory); border-top: 1px solid var(--m-champ); padding: 64px 0 0; font-size: 15.5px; }
.mtm-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.mtm-footer-logo img { width: 190px; max-width: 100%; height: auto; display: block; margin-bottom: 16px; }
.mtm-footer p { color: var(--m-text); }
.mtm-footer h4 { font-family: var(--m-head); font-weight: 600; font-size: 20px; color: var(--m-marine); margin-bottom: 14px; padding-bottom: 0; }
.mtm-footer ul { padding: 0 !important; margin: 0; }
.mtm-footer li { margin-bottom: 9px; line-height: 1.45; }
.mtm-footer a { color: var(--m-marine); text-decoration: none; }
.mtm-footer a:hover { color: var(--m-rose-dk); }
.mtm-footer-bottom { background: var(--m-marine); color: rgba(255, 255, 255, .85); padding: 16px 0; text-align: center; font-size: 13.5px; letter-spacing: .04em; }

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

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.mtm-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 13px; letter-spacing: .02em; }
}
@media (max-width: 980px) {
	.m-hero-img { margin-top: 44px; max-width: 460px; }
	.m-atelier, .m-journal, .m-notes { grid-template-columns: 1fr 1fr; }
	.m-edit-sec, .m-clear, .m-atelier-sec, .m-notes-sec, .m-journal-sec { padding: 58px 0 !important; }
	.m-edit-col { margin-bottom: 30px !important; }
	.m-clear-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.m-atelier, .m-journal, .m-notes { grid-template-columns: 1fr; }
	.m-specs li b { font-size: 24px; }
	.mtm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
