/*
Theme Name: NCMAZ Child
Theme URI: https://ncmaz.chisnghiax.com/
Template: ncmaz
Author: ChisNghiax
Author URI: https://chisnghiax.com/
Description: Ncmaz is a theme for blog, magazines, news, multi-purpose... Great and Modern design, using React &amp; Graphql to make the theme have many powerful functions, fast and easy page loading in Home page building. Dark mode, post format video, audio, gallery beautiful... Try using it, and it will show you great things
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready
Version: 2.0.0.0
Updated: 2022-02-27 09:57:46

*/

/* === invest4trade: правки шапки и мобильной версии (14.11.2026) === */
.i4t-branding .site-logo img{width:64px;height:auto;max-width:none}
.i4t-branding .site-branding{margin-left:12px}
.i4t-branding .site-title{font-size:20px;line-height:1.25;margin:0}
.i4t-branding .site-description{font-size:13px;line-height:1.35;margin:2px 0 0;color:#6b7280}
@media (max-width:767px){
 .i4t-branding .site-logo img{width:44px}
 .i4t-branding .site-title{font-size:16px}
 .i4t-branding .site-description{display:none}
 .FooterQuickNav__home span,.FooterQuickNav__search span,[class*="FooterQuickNav__"] span{font-size:10px!important;line-height:1!important;margin-top:4px}
 [class*="FooterQuickNav__"] svg{width:20px;height:20px}
 [class*="FooterQuickNav__"]{flex:1 1 0;min-width:0}
}
/* карточки: рубрики плашками, без наложения текста на картинку */
.nc-CategoryBadgeList ul.post-categories{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.nc-CategoryBadgeList ul.post-categories li{margin:0;padding:0}
.nc-CategoryBadgeList ul.post-categories li:nth-child(n+2){display:none}
.nc-CategoryBadgeList ul.post-categories a{display:inline-block;background:#fff;color:#1f2937;font-size:12px;line-height:1.2;font-weight:500;padding:4px 10px;border-radius:9999px;box-shadow:0 1px 3px rgba(0,0,0,.15);white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.single .nc-CategoryBadgeList ul.post-categories li:nth-child(n+2){display:list-item}
.i4t-branding{padding:10px 0}

/* === invest4trade: главная (14.11.2026) === */
.i4t-home{padding-top:24px;padding-bottom:48px}
.i4t-hero{max-width:860px;margin:8px 0 24px}
.i4t-hero h1{font-size:34px;line-height:1.2;font-weight:700;margin:0 0 12px}
.i4t-hero p{font-size:17px;line-height:1.6;color:#4b5563;margin:0}
.i4t-rubrics{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 36px}
.i4t-rubrics a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #e5e7eb;border-radius:9999px;font-size:14px;color:#111827;background:#fff;transition:border-color .15s}
.i4t-rubrics a:hover{border-color:#0d9488;color:#0f766e}
.i4t-rubrics em{font-style:normal;font-size:12px;color:#6b7280;background:#f3f4f6;border-radius:9999px;padding:1px 8px}
.i4t-sec{margin:0 0 44px}
.i4t-sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 16px;border-bottom:1px solid #e5e7eb;padding-bottom:10px}
.i4t-sec__head h2{font-size:24px;line-height:1.3;font-weight:700;margin:0}
.i4t-more{font-size:14px;color:#0f766e;white-space:nowrap}
.i4t-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.i4t-card{display:flex;flex-direction:column;border:1px solid #eef0f3;border-radius:14px;overflow:hidden;background:#fff}
.i4t-card__img{display:block;aspect-ratio:16/10;background:#f3f4f6;overflow:hidden}
.i4t-card__img img{width:100%;height:100%;object-fit:cover;display:block}
.i4t-card__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.i4t-card__cat{font-size:12px;font-weight:600;color:#0f766e;text-transform:uppercase;letter-spacing:.02em}
.i4t-card__title{font-size:16px;line-height:1.4;font-weight:600;margin:0}
.i4t-card__title a{color:#111827}
.i4t-card__title a:hover{color:#0f766e}
.i4t-card__date{font-size:12px;color:#6b7280;margin-top:auto}
.i4t-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px}
.i4t-list__item{display:block;padding:10px 0;border-bottom:1px dashed #e5e7eb;font-size:15px;color:#111827}
.i4t-list__item:hover{color:#0f766e}
@media (max-width:1023px){.i4t-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.i4t-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:639px){.i4t-hero h1{font-size:24px}.i4t-hero p{font-size:15px}.i4t-grid{grid-template-columns:1fr;gap:16px}.i4t-list{grid-template-columns:1fr}.i4t-sec__head h2{font-size:20px}.i4t-rubrics{gap:6px}.i4t-rubrics a{font-size:13px;padding:6px 12px}}
@media (max-width:639px){
 .i4t-sec .i4t-grid .i4t-card{flex-direction:row;align-items:stretch}
 .i4t-sec .i4t-grid .i4t-card__img{flex:0 0 112px;aspect-ratio:auto;min-height:96px}
 .i4t-card__body{padding:10px 12px;gap:4px}
 .i4t-card__title{font-size:15px}
 .i4t-card__cat{font-size:11px}
 .i4t-rubrics{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
 .i4t-rubrics a{flex:0 0 auto}
}
/* подвал */
.nc-Footer .widget_custom_html,.nc-Footer .textwidget{width:100%}
.i4t-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1.4fr;gap:28px;width:100%}
.i4t-foot h4{font-size:15px;font-weight:700;margin:0 0 12px;color:#111827}
.i4t-foot ul{list-style:none;margin:0;padding:0}
.i4t-foot li{margin:0 0 8px}
.i4t-foot a{color:#4b5563;font-size:14px}
.i4t-foot a:hover{color:#0f766e}
.i4t-foot p{font-size:13px;line-height:1.55;color:#6b7280;margin:0 0 8px}
@media (max-width:767px){.i4t-foot{grid-template-columns:1fr 1fr;gap:20px}.i4t-foot__about{grid-column:1/-1}.nc-Footer{padding-bottom:80px}}
.nc-Footer .container>div:nth-child(2){display:none}
.nc-Footer .container>div:first-child{flex:1 1 100%}
.nc-Footer .nc-Footer-item{width:100%}
.i4t-foot ul{padding-left:0!important;margin-left:0!important}
.i4t-foot li{list-style:none!important;padding-left:0!important}
