/*
Theme Name: MH Magazine Child - Instituto Conecta For Me
Template: mh-magazine
Description: Child theme do MH Magazine para o nsic1.com (Instituto Conecta For Me).
Version: 1.0.0
Text Domain: mh-magazine-child
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,800&family=Inter:wght@400;500;600&display=swap');
:root{--ink:#0f1530;--bulb:#ffc83d;--glow:#fff3c4;--cream:#fffaf0;--mut:#5b6280}
body{font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--cream)}
.mh-container,.mh-container-inner{max-width:1180px}
.mh-boxed-layout .mh-container{background:var(--cream);box-shadow:none}
.mh-header-title,.mh-header-title a,.mh-site-title a{font-family:Fraunces,serif;font-weight:800;color:var(--ink)!important;letter-spacing:-.02em}
.mh-header{background:var(--cream)}
.mh-main-nav-wrap,.mh-main-nav,.mh-main-nav ul{background:var(--ink)!important}
.mh-main-nav li a{color:#e9ecff!important;font-weight:600}
.mh-main-nav li:hover>a,.mh-main-nav li.current-menu-item>a,.mh-main-nav li.current-menu-ancestor>a{background:var(--bulb)!important;color:var(--ink)!important}
.mh-main-nav ul li a{background:var(--ink)}
.mh-main-nav ul li:hover>a{background:var(--bulb)!important}
.mh-news-ticker,.mh-breadcrumb,.page .entry-header,.page .entry-meta{display:none!important}
.page:not(.home) .mh-content,.page:not(.home) #main-content{width:100%!important;float:none!important}
.page .entry-content{font-size:17px;line-height:1.7}
.nx-hero{background:radial-gradient(circle at 88% 15%,rgba(255,200,61,.45),transparent 42%),var(--ink);color:#fff;padding:60px 44px;border-radius:22px;display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:center;margin:8px 0 36px}
.nx-hero.nx-solo{grid-template-columns:1fr}
.nx-hero h1{font-family:Fraunces,serif;font-size:clamp(30px,4.5vw,50px);line-height:1.08;margin:0 0 16px;color:#fff;font-weight:800}
.nx-hero p{color:#d9def5;font-size:18px;margin:0 0 22px}
.nx-tag{display:inline-block;background:var(--bulb);color:var(--ink);font-weight:700;font-size:12px;letter-spacing:.1em;text-transform:uppercase;padding:5px 13px;border-radius:99px;margin-bottom:18px}
.nx-hero img{width:100%;height:auto;border-radius:16px;box-shadow:0 0 0 6px rgba(255,200,61,.25),0 24px 60px rgba(0,0,0,.45)}
.nx-bulb{font-size:120px;text-align:center;filter:drop-shadow(0 0 40px rgba(255,200,61,.9))}
.nx-btn{display:inline-block;background:var(--bulb);color:var(--ink)!important;padding:13px 26px;border-radius:99px;font-weight:700;text-decoration:none!important}
.nx-btn.nx-ghost{background:transparent;border:2px solid var(--bulb);color:var(--bulb)!important;margin-left:10px}
.nx-sec h2{font-family:Fraunces,serif;font-size:32px;font-weight:800;margin:40px 0 8px}
.nx-sec>p{color:var(--mut);max-width:720px}
.nx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin:26px 0 40px}
.nx-card{background:#fff;border:1px solid #f0e3b8;border-radius:18px;padding:24px;transition:.2s}
.nx-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(255,200,61,.28)}
.nx-card:before{content:"";display:block;width:12px;height:12px;border-radius:50%;background:var(--bulb);box-shadow:0 0 0 5px var(--glow),0 0 18px var(--bulb);margin-bottom:14px}
.nx-card h3{font-family:Fraunces,serif;font-size:20px;margin:0 0 8px;font-weight:700}
.nx-card p{margin:0;color:var(--mut);font-size:15px;line-height:1.55}
.nx-card a.nx-more{display:inline-block;margin-top:12px;font-weight:700;color:var(--ink);border-bottom:2px solid var(--bulb);text-decoration:none}
.nx-shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:20px 0 40px}
.nx-shots img{width:100%;border-radius:14px;border:1px solid #f0e3b8}
.nx-cta{background:var(--glow);border-radius:22px;padding:40px;text-align:center;margin:20px 0 10px}
.nx-cta h2{margin-top:0!important}
.nx-back{display:inline-block;margin:14px 0 30px;font-weight:600;color:var(--mut)}
@media(max-width:800px){.nx-hero{grid-template-columns:1fr;padding:34px 22px}}

.page-header,.page:not(.home) .mh-sidebar{display:none!important}

.page:not(.home) .mh-content,.page:not(.home) .mh-content>article{width:100%!important;max-width:100%!important}

.nx2-hero{position:relative;overflow:hidden;background:#0a0e24;border-radius:28px;padding:70px 56px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:20px;margin:8px 0 28px;min-height:480px}
.nx2-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(255,200,61,.38),transparent 48%),repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0 1px,transparent 1px 60px)}
.nx2-hero>*{position:relative}
.nx2-hero h1{font-family:Fraunces,serif;font-weight:800;font-size:clamp(40px,7vw,84px);line-height:.98;color:#fff;margin:0 0 20px;letter-spacing:-.03em}
.nx2-hero h1 em{font-style:normal;color:#ffc83d}
.nx2-hero p{color:#c9d0f0;font-size:20px;margin:0 0 28px;max-width:460px}
.nx2-hero svg{width:100%;max-width:400px;height:auto;margin:auto;display:block;animation:nxp 4s ease-in-out infinite}
@keyframes nxp{50%{filter:drop-shadow(0 0 30px rgba(255,200,61,.9))}}
.nx2-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin:0 0 28px}
.nx2-tile{display:block;border-radius:24px;padding:34px 30px;min-height:260px;color:#fff!important;text-decoration:none!important;position:relative;overflow:hidden;transition:.25s}
.nx2-tile:hover{transform:translateY(-6px)}
.nx2-tile:nth-child(1){background:linear-gradient(145deg,#1b2a7a,#0a0e24)}
.nx2-tile:nth-child(2){background:linear-gradient(145deg,#7a3b12,#1a0f08)}
.nx2-tile:nth-child(3){background:linear-gradient(145deg,#4a1b7a,#120a24)}
.nx2-tile svg{width:64px;height:64px;stroke:#ffc83d;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:46px}
.nx2-tile b{display:block;font-family:Fraunces,serif;font-size:36px;line-height:1;margin-bottom:10px}
.nx2-tile span{color:#d5daf5;font-size:15px}
.nx2-pills{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
.nx2-pills a{background:#fff;border:2px solid #0f1530;color:#0f1530!important;border-radius:99px;padding:10px 20px;font-weight:700;text-decoration:none!important;transition:.2s}
.nx2-pills a:hover{background:#ffc83d}
.nx2-end{background:#ffc83d;border-radius:28px;padding:56px 40px;text-align:center}
.nx2-end h2{font-family:Fraunces,serif;font-weight:800;font-size:clamp(30px,5vw,52px);margin:0 0 20px;color:#0f1530;line-height:1.05}
.nx2-end a{display:inline-block;background:#0f1530;color:#fff!important;padding:14px 30px;border-radius:99px;font-weight:700;text-decoration:none!important}
@media(max-width:800px){.nx2-hero{grid-template-columns:1fr;padding:40px 24px}.nx2-hero svg{max-width:240px}}

.nx3-title{margin:30px 0 14px;border-bottom:3px solid #0f1530}
.nx3-title span{display:inline-block;background:#0f1530;color:#ffc83d;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:14px;padding:9px 20px;border-radius:10px 10px 0 0}
.nx3-head{background:#0f1530;color:#fff;font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:13px;padding:11px 16px;border-bottom:4px solid #ffc83d;border-radius:12px 12px 0 0}
.nx3-box{background:#fff;border:1px solid #f0e3b8;border-radius:12px;overflow:hidden}
.nx3-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;margin:30px 0}
.nx3-box .wp-block-query{padding:14px 16px}
.wp-block-post-template{list-style:none;margin:0;padding:0}
.nx3-feat .wp-block-post-template{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:16px}
.nx3-feat li{position:relative;overflow:hidden;border-radius:16px;background:#0f1530;min-height:220px;margin:0}
.nx3-feat li:first-child{grid-row:span 2;min-height:460px}
.nx3-feat .wp-block-post-featured-image,.nx3-feat .wp-block-post-featured-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0}
.nx3-feat li:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(10,14,36,.92))}
.nx3-feat .wp-block-post-title,.nx3-feat .wp-block-post-date{position:absolute;z-index:2;left:20px;right:20px;margin:0}
.nx3-feat .wp-block-post-title{bottom:42px;font-family:Fraunces,serif;font-size:22px;line-height:1.15}
.nx3-feat li:first-child .wp-block-post-title{font-size:34px}
.nx3-feat .wp-block-post-title a{color:#fff!important}
.nx3-feat .wp-block-post-date{bottom:16px;color:#ffc83d;font-size:13px}
.nx3-list li,.nx3-row li{padding:12px 0;border-bottom:1px solid #f0e3b8}
.nx3-row .wp-block-post-template{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.nx3-row li{background:#fff;border:1px solid #f0e3b8;border-radius:12px;padding:14px}
.nx3-list h4,.nx3-row h4{font-family:Fraunces,serif;font-size:18px;line-height:1.2;margin:8px 0 4px}
.nx3-list h4 a,.nx3-row h4 a{color:#0f1530}
.nx3-list .wp-block-post-date,.nx3-row .wp-block-post-date{font-size:12px;color:#5b6280}
.nx3-list .wp-block-post-excerpt,.nx3-row .wp-block-post-excerpt{font-size:14px;color:#5b6280;margin:4px 0 0}
.nx3-list img,.nx3-row img{border-radius:10px;width:100%;height:auto}
@media(max-width:800px){.nx3-feat .wp-block-post-template{grid-template-columns:1fr;grid-template-rows:auto}.nx3-feat li:first-child{min-height:320px}}

.wp-block-query ul.wp-block-post-template,.wp-block-post-template{padding:0!important;margin:0!important;list-style:none!important}
.nx3-feat li:nth-child(2):last-child{grid-row:span 2}
.nx3-feat .wp-block-post-title a{text-decoration:none!important}

.nx3-slide{margin:0 0 10px;border-radius:18px;overflow:hidden;border-bottom:4px solid #ffc83d}
.nx3-slide .flexslider{margin:0;border:0}
.nx3-slide .mh-slider-title a{color:#fff!important}
.nx3-slide .flex-control-nav{bottom:12px}
.nx3-slide .flex-control-paging li a.flex-active{background:#ffc83d}

.nx3-slide ul.slides,.nx3-slide ul.slides li{margin:0!important;padding:0!important;list-style:none!important}
.nx3-slide .mh-slider-caption{box-sizing:border-box;background:rgba(10,14,36,.85)!important;border-bottom:4px solid #ffc83d!important;padding:22px 26px!important}
.nx3-slide .mh-slider-title,.nx3-slide .mh-slider-title a{font-family:Fraunces,serif!important;font-weight:800;line-height:1.1}
.nx3-slide .mh-excerpt{color:#d5daf5}

.home .nx3-cols{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.mh-sidebar .nx-sh{background:#0f1530;color:#fff;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:11px 16px;border-bottom:4px solid #ffc83d;border-radius:12px 12px 0 0;margin:0}
.mh-sidebar .mh-widget{background:#fff;border:1px solid #f0e3b8;border-radius:12px;overflow:hidden;margin-bottom:20px;padding:0}
.mh-sidebar .mh-widget>*:not(.nx-sh){margin-left:16px;margin-right:16px}
.mh-sidebar .nx-sl,.mh-sidebar ul{padding-bottom:12px}
.mh-sidebar ul{list-style:none;padding-left:0;margin-top:10px}
.mh-sidebar li{padding:6px 0;border-bottom:1px solid #f6edcf}
.mh-sidebar a{color:#0f1530;font-weight:600}
.mh-sidebar a:hover{color:#b07d00}
.nx-sl b{display:block;margin-top:12px;color:#b07d00;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.mh-sidebar .nx-sc{background:#ffc83d;padding:22px 16px;text-align:center;margin:0!important}
.nx-sc b{font-family:Fraunces,serif;font-size:22px;display:block}
.mh-sidebar .nx-sc .nx-btn{background:#0f1530;color:#fff!important}

@media(min-width:900px){.home .mh-content{width:66%!important}.home .mh-sidebar{width:30%!important}}
.home .mh-sidebar .nx-sh{font-size:12px;padding:9px 14px}
.home .mh-sidebar .mh-widget{font-size:14px}

.mh-header{padding:0!important;background:#fff}
.mh-header-logo,.mh-header .mh-logo-wrap,.mh-header .custom-logo-link{display:block;margin:0!important;padding:0!important}
.mh-header img.custom-logo,.mh-header .mh-header-logo img{display:block;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;border:0!important}
.mh-header-title,.mh-header-tagline,.mh-header-text{display:none!important}

.mh-header .mh-site-logo{padding:0!important}
.mh-header .mh-site-logo .mh-header-text{display:none!important}
.mh-header .custom-logo-link{display:block!important;width:100%!important}

html,body{overflow-x:hidden}
.mh-header,.mh-header .mh-container-inner,.mh-header .mh-site-logo{overflow:visible}
.mh-header .custom-logo-link{display:block!important;width:100vw!important;position:relative;left:50%;margin-left:-50vw!important}
.mh-header img.custom-logo{width:100vw!important;max-width:100vw!important;height:clamp(150px,22vw,340px)!important;object-fit:cover;object-position:center}

.mh-header .mh-site-identity{overflow:visible!important}.mh-header .mh-header-columns{overflow:visible!important}

body .mh-header div.mh-site-identity.mh-col-1-1{overflow:visible!important}

/* nx-fullbar */
.mh-main-nav-wrap,.mh-subheader{position:relative;isolation:isolate;background:transparent!important}
.mh-main-nav-wrap .mh-main-nav,.mh-main-nav-wrap .mh-main-nav>ul{background:transparent!important}
.mh-subheader .mh-container-inner,.mh-subheader .mh-container{background:transparent!important}
.mh-main-nav-wrap:before,.mh-subheader:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;z-index:-1}
.mh-main-nav-wrap:before{background:#0f1530}
.mh-subheader:before{background:#fff3d0;border-bottom:1px solid #f0e3b8}

.mh-main-nav-wrap{z-index:60}
.mh-subheader{z-index:1}

/* nx-slidecap */
.nx3-slide .mh-slider-caption{position:absolute!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:auto!important;max-width:none!important;height:auto!important;padding:40px 26px 36px!important;background:linear-gradient(transparent,rgba(10,14,36,.9) 45%)!important;border-bottom:0!important}
.nx3-slide .mh-slider-title,.nx3-slide .mh-slider-title a{font-size:26px!important;line-height:1.15!important;margin:0!important}
.nx3-slide .mh-excerpt{display:none!important}
.nx3-slide .flex-control-nav{bottom:10px!important}

/* nx-prints-footer */
.nx-prints{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.nx-prints figure{margin:0;background:#0f1530;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(15,21,48,.18)}
.nx-prints img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.nx-prints figcaption{padding:9px 12px;color:#fff3c4;font-size:13px;font-weight:600}
@media(max-width:900px){.nx-prints{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.nx-prints{grid-template-columns:1fr}}
.nx-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0}
.mh-footer{background:#0f1530!important;color:#c9cde3;border-top:4px solid #ffc83d;padding:10px 0 0}
.mh-footer .mh-container{max-width:1280px}
.mh-footer .mh-footer-area{display:flex;flex-wrap:wrap;padding:38px 0 10px}
.mh-footer .mh-footer-widget{padding:0 20px;box-sizing:border-box;float:none}
.mh-footer-1{width:30%}.mh-footer-2{width:22%}.mh-footer-3{width:23%}.mh-footer-4{width:25%}
@media(max-width:900px){.mh-footer-1,.mh-footer-2,.mh-footer-3,.mh-footer-4{width:50%;margin-bottom:24px}}
@media(max-width:560px){.mh-footer-1,.mh-footer-2,.mh-footer-3,.mh-footer-4{width:100%}}
.nx-f,.nx-f p,.nx-f li{color:#c9cde3;font-size:14px;line-height:1.6}
.nx-f h4{color:#ffc83d;font-family:Fraunces,serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid rgba(255,200,61,.25)}
.nx-f h4:not(:first-child){margin-top:22px}
.nx-f ul{list-style:none;margin:0;padding:0}
.nx-f li{margin:0 0 6px}
.nx-f a{color:#e8eaf6;text-decoration:none}
.nx-f a:hover{color:#ffc83d}
.nx-fbrand{font-family:Fraunces,serif;font-size:24px;color:#fff;font-weight:700;margin-bottom:10px}
.nx-fbrand em{color:#ffc83d;font-style:normal}
.nx-floc{color:#fff3c4!important}
.nx-fwa a{display:flex;flex-direction:column;background:rgba(255,255,255,.06);border:1px solid rgba(255,200,61,.25);border-radius:10px;padding:9px 14px}
.nx-fwa a:hover{background:rgba(255,200,61,.14)}
.nx-fwa b{color:#ffc83d;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.nx-fwa span{font-size:16px;color:#fff}
.nx-fmail{margin:0 0 10px!important}
.nx-fmail small{display:block;color:#9aa0c3;font-size:12px}
.nx-fmail a{font-weight:600;color:#fff}
.nx-fcta{margin-top:16px;background:linear-gradient(135deg,#ffc83d,#ffdf85);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.nx-fcta b{color:#0f1530;font-size:15px}
.nx-fcta span{color:#3a3510;font-size:13px}
.nx-f .nx-fcta a{color:#0f1530;font-weight:700;margin-top:6px}
.mh-copyright-wrap{background:#080b1f!important;border-top:1px solid rgba(255,200,61,.2);color:#9aa0c3}
.mh-copyright,.mh-copyright a{color:#9aa0c3!important;font-size:12.5px}

/* nx-footer-fix */
.mh-footer{background:transparent!important;border-top:0!important;position:relative;isolation:isolate}
.mh-footer:before{content:'';position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;background:#0f1530;border-top:4px solid #ffc83d;z-index:-1}
.mh-footer .mh-footer-widgets{background:transparent!important;display:flex;flex-wrap:wrap;padding:38px 0 10px;float:none;width:100%}
.mh-footer .mh-footer-area{padding:0 20px;box-sizing:border-box;float:none}
.mh-copyright-wrap{background:transparent!important;border-top:1px solid rgba(255,200,61,.2)!important;position:relative;isolation:isolate}
.mh-copyright-wrap:before{content:'';position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;background:#080b1f;z-index:-1}
.mh-copyright{background:transparent!important;font-size:0!important;text-align:center}
.mh-copyright:before{content:'© 2026 Instituto Conecta For Me. Todos os direitos reservados.';font-size:12.5px;color:#9aa0c3}
.mh-copyright a{display:none}
.nx-cta .nx-btn.nx-ghost{color:#0f1530!important;border-color:#0f1530!important;background:transparent}
.nx-cta .nx-btn.nx-ghost:hover{background:#0f1530;color:#ffc83d!important}
.nx-prints img{background:#fff}

/* nx-footer-fix2 */
.mh-footer .mh-footer-widgets>.mh-footer-area{margin:0!important}
.mh-footer .mh-footer-widgets>.mh-footer-1{width:30%!important}
.mh-footer .mh-footer-widgets>.mh-footer-2{width:22%!important}
.mh-footer .mh-footer-widgets>.mh-footer-3{width:23%!important}
.mh-footer .mh-footer-widgets>.mh-footer-4{width:25%!important}
@media(max-width:900px){.mh-footer .mh-footer-widgets>.mh-footer-area{width:50%!important;margin-bottom:24px!important}}
@media(max-width:560px){.mh-footer .mh-footer-widgets>.mh-footer-area{width:100%!important}}
.mh-copyright-wrap .mh-container-inner{background:transparent!important}
.nx-fbrand{font-size:21px;white-space:nowrap}

/* nx-footer-fix3 */
.nx-fbrand{white-space:normal!important;font-size:20px;line-height:1.25}

/* nx-contact */
.nx-ct-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.nx-ct-grid.nx-ct-2{grid-template-columns:repeat(2,1fr)}
.nx-ct-card{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #f0e2b8;border-radius:16px;padding:22px;text-decoration:none!important;color:#0f1530;box-shadow:0 4px 16px rgba(15,21,48,.06);transition:.2s}
.nx-ct-card:hover{transform:translateY(-3px);border-color:#ffc83d;box-shadow:0 10px 26px rgba(255,200,61,.3)}
.nx-ct-ic{font-size:26px;width:48px;height:48px;border-radius:12px;background:#fff3c4;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.nx-ct-card b{font-family:Fraunces,serif;font-size:18px}
.nx-ct-card span:not(.nx-ct-ic){font-size:19px;font-weight:700;color:#0f1530;word-break:break-all}
.nx-ct-card em{font-style:normal;font-size:13px;color:#6b6f8c}
.nx-ct-loc{display:grid;grid-template-columns:1fr 1.6fr;gap:0;background:#0f1530;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(15,21,48,.2)}
.nx-ct-info{padding:30px;color:#e8eaf6}
.nx-ct-info h3{color:#ffc83d;font-family:Fraunces,serif;margin:0 0 10px}
.nx-ct-info p{color:#c9cde3;line-height:1.6}
.nx-ct-map iframe{display:block;width:100%;height:100%;min-height:380px;border:0}
@media(max-width:900px){.nx-ct-grid,.nx-ct-grid.nx-ct-2,.nx-ct-loc{grid-template-columns:1fr}}
