/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/


/* Your customizations starts here *//* MEVION DEVELOPMENTS — section styles on top of the Basel theme */
:root {
	--mv-primary: #0e2a47;
	--mv-primary-dark: #081c31;
	--mv-secondary: #a07a45;
	--mv-light: #d2b07a; /* primary tint for text on dark backgrounds */
	--mv-ink: #14202e;
	--mv-text: #4c4c4c;
	--mv-muted: #777;
	--mv-gray: #f6f3ee;
	--mv-line: #e7e1d6;
}

/* ---------- Top bar ---------- */
.mv-topbar { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.mv-topbar a { color: rgba(255,255,255,.92) !important; font-size: 13px; white-space: nowrap; }
.mv-topbar a:hover { color: #fff !important; }
.mv-topbar i { margin-right: 6px; opacity: .9; }
@media (max-width: 767px) {
	.mv-topbar { justify-content: center; gap: 4px 16px; }
	.mv-topbar a:nth-child(3) { display: none; }
}

/* ---------- Layout ---------- */
.page .main-page-wrapper { padding-top: 0; }
.page .site-content > .entry-content > .vc_row:last-child,
.page .site-content article { margin-bottom: 0; }
.page .main-page-wrapper > .container > .row > .site-content { margin-bottom: 0; }
.mv-sec { padding-top: 80px; padding-bottom: 80px; }
.mv-sec.mv-hero { padding: 0; }
.mv-gray { background: var(--mv-gray); }
.mv-center { text-align: center; }
.mv-cards, .mv-pillars { row-gap: 0; }
@media (max-width: 767px) { .mv-sec { padding-top: 56px; padding-bottom: 56px; } }

.mv-img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.12); display: block; }
.mv-kicker { display: inline-block; font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mv-primary); margin-bottom: 10px; }

/* Section titles (basel_title) */
.mv-sec .title-wrapper .title-subtitle { color: var(--mv-primary); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.mv-sec .title-wrapper .title { color: var(--mv-ink); }
.mv-sec .title-wrapper .title-separator span { background-color: var(--mv-primary); }
.mv-sec .title-wrapper.text-center .title-after_title { max-width: 720px; margin: 0 auto; }
.mv-sec .title-wrapper { margin-bottom: 30px; }

/* ---------- Hero slider ---------- */
.mv-hero .basel-slide { position: relative; }
.mv-hero .basel-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,38,.82) 0%, rgba(8,22,38,.55) 55%, rgba(8,22,38,.25) 100%); z-index: 0; }
.mv-hero .basel-slide-container { position: relative; z-index: 1; }
.mv-slide-title { color: #fff; font-size: 46px; line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.mv-slide-sub { color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.6; margin-bottom: 30px; max-width: 640px; }
.mv-slide-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mv-slide-btns .btn { margin: 0 !important; }
.mv-slide p:empty { display: none; }
@media (max-width: 1024px) { .mv-slide-title { font-size: 36px; } }
@media (max-width: 767px) {
	.mv-slide-title { font-size: 27px; }
	.mv-slide-sub { font-size: 15px; }
	.mv-hero .basel-slide::before { background: rgba(8,22,38,.7); }
}

/* ---------- Page head (inner pages) ---------- */
.mv-pagehead { background-color: var(--mv-ink); padding-top: 110px; padding-bottom: 90px; }
.mv-h1 { color: #fff; font-size: 44px; line-height: 1.15; margin: 0 0 14px; max-width: 860px; }
.mv-lead { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.65; max-width: 780px; margin: 0; }
.mv-lead-dark { font-size: 18px; line-height: 1.7; color: var(--mv-ink); }
@media (max-width: 767px) {
	.mv-pagehead { padding-top: 70px; padding-bottom: 56px; }
	.mv-h1 { font-size: 30px; }
	.mv-lead { font-size: 16px; }
}

/* ---------- Cards ---------- */
.mv-cards > .vc_column_container { margin-bottom: 30px; }
.mv-cards .vc_column-inner, .mv-cards .wpb_text_column, .mv-cards .wpb_wrapper { height: 100%; }
.mv-card { background: #fff; border: 1px solid var(--mv-line); border-radius: 8px; padding: 34px 30px; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: transparent; }
.mv-card-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(14,42,71,.1); color: var(--mv-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; transition: background .25s, color .25s; }
.mv-card:hover .mv-card-icon { background: var(--mv-primary); color: #fff; }
.mv-card-title { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.mv-card-title a { color: var(--mv-ink); }
.mv-card-title a:hover { color: var(--mv-primary); }
.mv-card p { margin-bottom: 16px; }
.mv-card p:empty { display: none; }
.mv-card-more { font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-primary); }
.mv-cards-compact .mv-card { padding: 28px 26px; }
.mv-cards-compact .mv-card-title { margin-bottom: 14px; }

/* ---------- Steps ---------- */
.mv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: none; }
.mv-steps li { position: relative; padding-top: 8px; margin: 0; }
.mv-steps li::after { content: ""; position: absolute; top: 31px; left: 64px; right: -12px; height: 2px; background: var(--mv-line); }
.mv-steps li:last-child::after { display: none; }
.mv-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--mv-primary); color: #fff; font-family: Montserrat, Arial, sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mv-steps h3 { font-size: 17px; margin-bottom: 8px; }
.mv-steps p { margin: 0; font-size: 14px; }
@media (max-width: 1024px) { .mv-steps { grid-template-columns: repeat(2, 1fr); } .mv-steps li::after { display: none; } }
@media (max-width: 575px) { .mv-steps { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.mv-dark { background-color: var(--mv-ink); color: rgba(255,255,255,.82); padding-top: 110px; padding-bottom: 110px; }
.mv-h2-light { color: #fff; font-size: 32px; line-height: 1.25; margin-bottom: 16px; }
.mv-dark p { font-size: 17px; line-height: 1.7; }

/* ---------- Pillars ---------- */
.mv-pillars > .vc_column_container { margin-bottom: 24px; }
.mv-pillar { text-align: left; background: #fff; border-top: 3px solid var(--mv-primary); padding: 28px 24px; border-radius: 0 0 8px 8px; height: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.mv-num { display: block; font-family: Montserrat, Arial, sans-serif; font-size: 30px; font-weight: 800; color: rgba(14,42,71,.25); line-height: 1; margin-bottom: 12px; }
.mv-pillar h3 { font-size: 18px; margin-bottom: 8px; }
.mv-pillar p { margin: 0; }
.mv-pillars .vc_column-inner, .mv-pillars .wpb_text_column, .mv-pillars .wpb_wrapper { height: 100%; }

/* ---------- CTA ---------- */
.mv-cta { background: var(--mv-primary); color: #fff; padding-top: 56px; padding-bottom: 56px; }
.mv-cta-title { color: #fff; font-size: 28px; margin-bottom: 8px; }
.mv-cta p { color: rgba(255,255,255,.9); font-size: 17px; margin: 0; }
.mv-cta .btn-color-white.btn-style-bordered { color: #fff; border-color: #fff; }
.mv-cta .btn-color-white.btn-style-bordered:hover { background: #fff; color: var(--mv-primary); }
@media (max-width: 767px) { .mv-cta-btn > .vc_column-inner { margin-top: 18px; } .mv-cta .basel-button-wrapper { text-align: left; } }

/* ---------- Lists, facts, quotes ---------- */
.mv-checklist { list-style: none; padding: 0; margin: 0 0 10px; }
.mv-checklist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mv-line); margin: 0; }
.mv-checklist li::before { content: "\f00c" !important; font-family: "Font Awesome 6 Free", FontAwesome !important; font-weight: 900; position: static !important; top: auto !important; left: auto !important; margin: 0 !important; transform: none !important; flex: 0 0 22px; width: 22px; height: 22px; line-height: 1 !important; border-radius: 50%; background: rgba(14,42,71,.12); color: var(--mv-primary); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.mv-facts { background: var(--mv-gray); border-radius: 8px; padding: 30px; }
.mv-facts h3 { font-size: 18px; margin-bottom: 16px; }
.mv-facts dl { margin: 0; }
.mv-facts dt { font-family: Montserrat, Arial, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mv-muted); }
.mv-facts dd { margin: 2px 0 16px; color: var(--mv-ink); font-weight: 600; }
.mv-quote { border-left: 3px solid var(--mv-primary); padding: 6px 0 6px 26px; }
.mv-quote p { font-size: 20px; line-height: 1.6; color: var(--mv-ink); margin: 0; }
.mv-gain { background: var(--mv-gray); border-radius: 8px; padding: 30px; margin-bottom: 26px; }
.mv-gain p { font-size: 17px; line-height: 1.7; color: var(--mv-ink); margin: 0; }
.mv-case { border: 1px solid var(--mv-line); border-radius: 8px; padding: 34px; }
.mv-case h3 { font-size: 22px; }

/* ---------- Infrastructure table ---------- */
.mv-table-wrap { overflow-x: auto; }
.mv-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.mv-table th { background: var(--mv-ink); color: #fff; text-align: left; font-family: Montserrat, Arial, sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 16px 18px; }
.mv-table td { padding: 18px; border-bottom: 1px solid var(--mv-line); vertical-align: top; }
.mv-table tr:nth-child(even) td { background: var(--mv-gray); }
.mv-table td i { color: var(--mv-primary); width: 20px; }

/* ---------- Service links ---------- */
.mv-svc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mv-svc-links a { border: 1px solid var(--mv-line); background: #fff; border-radius: 30px; padding: 9px 18px; color: var(--mv-ink); font-size: 14px; }
.mv-svc-links a:hover { border-color: var(--mv-primary); color: var(--mv-primary); }
.mv-svc-links i { color: var(--mv-primary); margin-right: 6px; }

/* ---------- Contact ---------- */
.mv-contact-list { list-style: none; padding: 0; margin: 0; }
.mv-contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--mv-line); margin: 0; }
.mv-contact-list i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: rgba(14,42,71,.1); color: var(--mv-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mv-contact-list strong { display: block; color: var(--mv-ink); font-family: Montserrat, Arial, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.mv-contact-list a { color: var(--mv-text); }
.mv-contact-list a:hover { color: var(--mv-primary); }
.mv-form-box > .vc_column-inner { background: var(--mv-gray); border-radius: 8px; padding: 34px !important; }
.mv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 575px) { .mv-form-grid { grid-template-columns: 1fr; } .mv-form-box > .vc_column-inner { padding: 22px !important; } }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { width: 100%; background: #fff; }
.wpcf7 label { font-weight: 600; color: var(--mv-ink); font-size: 14px; width: 100%; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; }
.wpcf7 input[type="submit"] { background: var(--mv-primary); color: #fff; border: 0; padding: 14px 34px; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.wpcf7 input[type="submit"]:hover { background: var(--mv-primary-dark); }
.mv-map-row { padding: 0; }
.mv-map { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* Basel adds arrow markers to text-column lists; our lists draw their own. */
.mv-contact-list li::before, .mv-footer-contact li::before, .mv-steps li::before { content: none !important; display: none !important; }
.mv-contact-list li, .mv-footer-contact li, .mv-steps li, .mv-checklist li { list-style: none; }

/* ---------- Footer ---------- */
.footer-container .footer-widget { margin-bottom: 30px; }
.mv-footer-contact { list-style: none; padding: 0; margin: 0; }
.mv-footer-contact li { padding: 5px 0; }
.mv-footer-contact i { color: var(--mv-primary); width: 18px; }
.copyrights-wrapper a { color: rgba(255,255,255,.75); }
.copyrights-wrapper a:hover { color: #fff; }


/* ---------- Brand: primary #0e2a47, secondary #a07a45 ---------- */
.mv-sec .title-wrapper .title-subtitle,
.mv-kicker,
.mv-facts dt { color: var(--mv-secondary); }
.mv-pagehead .mv-kicker,
.mv-dark .mv-kicker { color: var(--mv-light); }
.mv-num { color: rgba(160,122,69,.35); }
.mv-pillar { border-top-color: var(--mv-secondary); }
.mv-quote { border-left-color: var(--mv-secondary); }
.site-logo img { max-height: 66px; width: auto; }
.footer-container .footer-widget img[alt="MEVION DEVELOPMENTS"] { max-width: 230px; height: auto; }

/* Skip link from the previous version: keep it hidden on sites that still have it. */
.mv-skip-link { position: absolute; left: -9999px; top: -200px; }
/* ---------- MEVION additions ---------- */
:root { --mv-gold: #a07a45; --mv-gold-light: #d2b07a; }
.mv-kicker, .mv-sec .title-wrapper .title-subtitle { color: var(--mv-gold); }
.mv-sec .title-wrapper .title-separator span { background-color: var(--mv-gold); }
.mv-pagehead .mv-kicker, .mv-dark .mv-kicker { color: var(--mv-gold-light); }
.mv-card-icon { background: rgba(160,122,69,.12); color: var(--mv-gold); }
.mv-card:hover .mv-card-icon { background: var(--mv-primary); color: var(--mv-gold-light); }
.mv-step-num { background: var(--mv-primary); color: var(--mv-gold-light); }
.mv-checklist li::before { background: rgba(160,122,69,.16); color: var(--mv-gold); }
.mv-cta { background: var(--mv-primary); border-top: 3px solid var(--mv-gold); }
.mv-cta .btn-color-white.btn-style-bordered:hover { color: var(--mv-primary); }
.mv-pagehead { border-bottom: 3px solid var(--mv-gold); }
.mv-footer-contact i, .mv-table td i, .mv-svc-links i, .mv-contact-list i { color: var(--mv-gold); }
.mv-contact-list i { background: rgba(160,122,69,.12); }
.mv-num { color: rgba(160,122,69,.45); }
.mv-legal { max-width: 860px; }
.mv-legal h3 { font-size: 20px; margin: 30px 0 10px; }
.mv-legal h3:first-child { margin-top: 0; }
.mv-legal p { line-height: 1.75; }
.mv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mv-dark .btn-color-primary { background: var(--mv-gold); }
.mv-dark .btn-color-primary:hover { background: #8a6738; }
.mv-hero .basel-slide::before { background: linear-gradient(90deg, rgba(8,22,38,.80) 0%, rgba(8,22,38,.5) 55%, rgba(8,22,38,.15) 100%); }
.mv-slide-title { text-wrap: balance; }
