/* ── GLOBAL WRAPPERS ── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  margin: 0;
}
a { color: var(--color-brand); }
a:hover { text-decoration: none; color: var(--color-brand); }
.global-wrapper { position: relative; }
.mid-jumbo { padding: 0 0 4rem 0; border-top: 0px solid #eee; border-bottom: 1px solid #eee; }
.mid-jumbo.pmt { padding-bottom: 0; }
.box_pad { padding-top: 10rem; padding-bottom: 2rem; }
.pmt { padding-top: 9.4em; }
.light-bg { background: var(--color-bg); }
.inner_pages { padding-top: 4em; padding-bottom: 0; }
.blog .inner_pages { padding-top: 0; }
.single-post .inner_pages { background: var(--color-white); }
.single-post main a { color: var(--color-brand); }
.single-post main .related-title { color: #428bca; }
.single-post main .cat-list a { color: #428bca; }
.single-post a:focus, .single-post a:active, .single-post a:hover { outline: none; box-shadow: none; }
.single-post main a.button { color: var(--color-white); background: var(--btn-primary-bg); }
.single-post main a.button:hover { color: var(--color-white); background: var(--btn-primary-hover-bg); }
.single-post main a.button-outline { color: var(--btn-outlined-fg); background: transparent; border: 2px solid var(--btn-outlined-border); }
.single-post main a.button-outline:hover { color: var(--color-white); background: var(--color-brand); }
.text-black { color: var(--color-text); background: var(--color-white); }
.sep-margin-bottom { margin-top: 3em; margin-bottom: 0; }

/* ── HERO ── */
.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-heading);
  color: var(--color-text);
  margin-bottom: 1.6rem;
}
.hero-cta-row { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; }
.title-inner-contact {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}
.marker { color: var(--color-marker); }

/* ── BUTTONS ── */
.button, a.button {
  display: inline-block;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.button:hover, a.button:hover { background: var(--btn-primary-hover-bg); color: var(--btn-primary-fg); }
.button-outline, a.button-outline {
  display: inline-block;
  background: transparent;
  color: var(--btn-outlined-fg);
  border: 2px solid var(--btn-outlined-border);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.button-outline:hover, a.button-outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

/* ── INTRO BOX BLOG (hero image) ── */
.intro-box-blog {
  background: url('../images/banners/blog.svg') no-repeat bottom right;
  height: 300px;
}

/* ── NAV ── */

/* Fixed header — matches .navigator in main.css */
.navigator {
  position: fixed;
  background: var(--color-white);
  z-index: 9999;
  width: 100%;
  top: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Push page content below fixed header */
.pmt { padding-top: 4em; }

.shadow-sm  { box-shadow: 0 .125rem .25rem rgba(0,0,0,.035) !important; }
.border-bottom { border-bottom: 1px solid var(--color-border) !important; }
.border-top    { border-top:    1px solid var(--color-border) !important; }

/* ── PE-ICON FONT (close button) ── */
@font-face {
  font-family: 'Pe-icon-7-stroke';
  src: url('../fonts/Pe-icon-7-stroke.woff2') format('woff2'),
       url('../fonts/Pe-icon-7-stroke.woff') format('woff'),
       url('../fonts/Pe-icon-7-stroke.ttf') format('truetype');
  font-weight: normal; font-style: normal;
}
.pe-7s-close {
  font-family: 'Pe-icon-7-stroke';
  speak: none; font-style: normal; font-weight: normal;
  font-variant: normal; text-transform: none;
  -webkit-font-smoothing: antialiased;
}

/* ── BURGER BUTTON ── */
.push-menu-btn { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; display: block; }
.burger-icon { display: block; height: 3px; width: 30px; margin-bottom: 5px; background-color: #000; transition: all 0.25s ease-out; }
.burger-icon--mid    { width: 30px; }
.burger-icon--bottom { margin-bottom: 0; }

/* ── MOBILE DRAWER NAV ── */
.nt-canvas-menu {
  position: fixed; top: 0; left: 0; width: 300px; height: 100%;
  z-index: 10002; overflow-y: auto; background: #fff;
  -webkit-transform: translateX(-300px); transform: translateX(-300px);
  -webkit-transition: transform .45s cubic-bezier(.645,.045,.355,1);
  transition: transform .45s cubic-bezier(.645,.045,.355,1);
}
.menu-opened .nt-canvas-menu { -webkit-transform: translateX(0); transform: translateX(0); }
#nt-mobile-menu {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%; background: #fff;
}
#nt-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
#nt-mobile-menu ul li { border-bottom: 1px solid var(--color-border); }
#nt-mobile-menu ul li a {
  display: flex; align-items: center; padding: 14px 20px;
  color: #25509b; font-size: 1.4rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
}
#nt-mobile-menu ul li a:hover { color: var(--color-accent); background: var(--color-bg-card); }
.m-icons { width: 22px; height: 22px; margin-right: 10px; flex-shrink: 0; }
#nt-mobile-menu .nt_ui_menu,
#nt-mobile-menu ul.menu { flex: 1; overflow-y: auto; position: relative; }
.nt-mobile-tabs {
  display: flex; background: #25509b; flex-shrink: 0;
}
.nt-mobile-tabs h3 {
  margin: 0; padding: 14px 20px; color: #fff; font-size: 1.4rem;
  cursor: pointer; flex: 1; display: flex; align-items: center; justify-content: flex-end;
}
.nt-mobile-tabs h3 i { font-size: 2.4rem; line-height: 1; }
.close-menu { cursor: pointer; color: #fff; }

/* Mask overlay */
.mask-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 10001; opacity: 0; visibility: hidden;
  background-color: rgba(0,0,0,.7);
  -webkit-transition: opacity .25s ease, visibility 0s ease .25s;
  transition: opacity .25s ease, visibility 0s ease .25s;
}
.menu-opened .mask-overlay {
  opacity: 1; visibility: visible;
  -webkit-transition: opacity .25s ease, visibility 0s ease;
  transition: opacity .25s ease, visibility 0s ease;
}

/* Mobile-only site_header (burger + logo on small screens) */
.site_header {
  display: none;
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
}
@media (max-width: 768px) { .site_header { display: block; } }

/* Bootstrap 4-style spacing utilities used in nav */
.p-3    { padding: 1rem !important; }
.px-md-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

/* Logo bar */
.top-bg { background: var(--nav-bg); }
.logo   { padding: .6rem 1.4rem; text-align: center; }
.logo img { width: 4em; }

/* Nav links bar */
.Nav_wrapper { text-align: center; padding-top: 1rem; padding-bottom: 1rem; }
.Nav_wrapper .nav > li > a {
  font-size: 16px;
  color: var(--color-text-mid);
  font-weight: 500;
}
.Nav_wrapper .nav > li > a:hover     { text-decoration: none; background: var(--color-white); color: #428bca; }
.Nav_wrapper .nav > li > a:focus     { text-decoration: none; background: var(--color-white); color: #999; outline: none; }
.Nav_wrapper .nav > li.active > a    { color: var(--color-text); font-weight: 700; }

@media (min-width: 767px) {
  .navbar-nav { float: none; margin: 0; }
  .navbar-nav > li { float: none; text-align: left; margin: auto 0; display: inline-block; }
}

.mobile-hide { display: block; }
@media (max-width: 768px) { .mobile-hide { display: none; } }

/* ── FOOTER — exact from main.css ── */
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot');
  src: url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
       url('../fonts/icomoon.ttf') format('truetype'),
       url('../fonts/icomoon.woff') format('woff'),
       url('../fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[data-icon]:before {
  font-family: 'icomoon' !important;
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  color: var(--color-accent);
  font-size: 3.63em;
}
footer {
  position: relative;
  -webkit-box-shadow: 0px -4px 6px 0px rgba(0,0,0,0.1);
  -moz-box-shadow:    0px -4px 6px 0px rgba(0,0,0,0.1);
  box-shadow:         0px -4px 6px 0px rgba(0,0,0,0.1);
}
footer p    { font-size: var(--fs-body); }
footer a    { color: var(--color-text-mid); }
footer a:focus { outline: none; }
.container-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 1em;
  font-size: 1.1em;
}
.copyright { text-align: center; border-top: 1px solid var(--color-border); }
.copyright p { padding-top: 14px; font-size: 1.4rem; }
.nm { margin: 0 !important; }
.phone, .linkedin { font-size: .4rem; }
.envelope { font-size: .3rem; }

@media (max-width: 767px) {
  footer p { font-size: 1.4rem; }
  .container-footer { flex-direction: column; text-align: center; }
  .copyright p { font-size: 1.2rem; }
}

/* ── BLOG SEARCH ── */
.blog-search {
  display: block;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--color-border-mid);
  border-radius: 24px;
  padding: 8px 18px;
  font-size: var(--fs-small);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  margin-bottom: 1.6rem;
  -webkit-appearance: none;
}
.blog-search:focus { border-color: var(--color-brand); }
.blog-search::placeholder { color: var(--color-border-mid); }

/* ── FILTER ROW ── */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.4rem; }
.filter-chip {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: var(--fs-small);
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-mid);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover  { border-color: var(--color-brand); color: var(--color-brand); }
.filter-chip.active { background: var(--color-brand); color: var(--color-white); border-color: var(--color-brand); }

/* ── BLOG CARD ── */
.blog-card-wrap { margin-bottom: 2.4rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.blog-card:focus, .blog-card:active { outline: none; box-shadow: none; }
.blog-card h3 {
  font-size: 1.7rem; font-weight: 400;
  color: var(--color-text); font-family: var(--font-body);
  margin: 0; line-height: 1.5;
}
.blog-card p {
  font-size: 1.5rem; color: var(--color-text-light);
  margin: 0; line-height: 1.6; flex: 1;
  background: none; padding: 0; min-height: 0;
}
.blog-card-meta {
  font-size: 1.3rem; color: var(--color-border-mid);
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--color-border);
}
/* Featured card */
.blog-card--featured {
  border-left: 3px solid var(--color-accent);
}
.blog-card--featured h3 { font-size: 2rem; }

/* ── CATEGORY PILLS ── */
.cat-pill {
  display: inline-block; font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 3px 10px; border-radius: 4px; align-self: flex-start;
}
.cat-pill.ai             { background: #e6f7f2; color: var(--color-brand); }
.cat-pill.pm             { background: #ffeaef; color: var(--color-accent); }
.cat-pill.agentic        { background: #eeedf9; color: #10528b; }
.cat-pill.claude         { background: #ffe8e4; color: #F16A54; }
.cat-pill.figma          { background: #e0baf3; color: #9726d3; }
.cat-pill.vibe-coding    { background: #e8f4fd; color: #0066cc; }
.cat-pill.product-design { background: #fff3e6; color: #e88c2c; }
.cat-pill.ux             { background: #f0e6ff; color: #7c3aed; }
.cat-pill.ai-automation  { background: #eeedf9; color: #10528b; }
.cat-pill.ai-news        { background: #fef3c7; color: #92400e; }

/* ── PAGINATION ── */
.blog-pagination {
  display: flex; justify-content: center;
  gap: 6px; margin: 2em 0 3em;
}
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid var(--color-border-mid);
  font-size: var(--fs-small); color: var(--color-text-mid);
  background: var(--color-white); font-family: var(--font-body);
  cursor: pointer; text-decoration: none; transition: all 0.15s;
}
.pg-btn.active,
.pg-btn:hover { background: var(--color-brand); color: var(--color-white); border-color: var(--color-brand); }
.pg-btn.active { pointer-events: none; }

/* ── SINGLE POST ── */
.post-back-link {
  display: block; font-size: 1.4rem; color: var(--color-brand);
  font-weight: 600; margin-bottom: 1.6rem;
  padding-top: 2em; padding-bottom: 2em;
}
.post-back-link:hover { color: var(--color-brand); text-decoration: underline; }
.post-title {
  font-family: var(--font-heading); font-size: 3.2rem; font-weight: 500;
  color: var(--color-text); line-height: 1.35; margin: 1rem 0 .5rem;
}
.post-meta-line { font-size: 1.4rem; color: var(--color-border-mid); margin-bottom: 2.4rem; }
.post-body h2 { font-size: 1.5rem; font-family: var(--font-body); font-weight: 800; color: var(--color-text); margin: 2.4rem 0 1rem; }
.post-body ul { list-style: disc; padding-left: 2em; margin-bottom: 1.6rem; }
.post-body li { font-size: 1.7rem; color: var(--color-text-mid); line-height: 1.7; margin-bottom: 6px; }
.post-body blockquote {
  border-left: 3px solid var(--color-brand); padding: 12px 20px;
  background: #f6fdfb; margin: 2rem 0; border-radius: 0 8px 8px 0;
}
.post-body blockquote p { color: var(--color-brand); font-style: italic; margin: 0; }

/* ── SIDEBAR ── */
.sidebar-box {
  background: var(--color-white);
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.8rem; margin-bottom: 2rem; margin-top: 2em;
}
.sidebar-label {
  display: block; font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--color-border-mid); margin-bottom: 1.2rem;
}
.related-post { padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.related-post:last-child { border-bottom: none; padding-bottom: 0; }
.related-post:hover .related-title { color: var(--color-brand); }
.related-cat-pill {
  display: inline-block; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px;
  padding: 1px 7px; border-radius: 3px;
}
.related-cat-pill.ai             { background: #e6f7f2; color: var(--color-brand); }
.related-cat-pill.vibe-coding    { background: #e8f4fd; color: #0066cc; }
.related-cat-pill.product-design { background: #fff3e6; color: #e88c2c; }
.related-cat-pill.ux             { background: #f0e6ff; color: #7c3aed; }
.related-cat-pill.ai-automation  { background: #eeedf9; color: #10528b; }
.related-cat-pill.ai-news        { background: #fef3c7; color: #92400e; }
.related-title {
  display: block; font-size: 1.4rem; font-weight: 400;
  font-family: var(--font-body); color: #428bca;
  line-height: 1.4; margin-top: 3px;
}
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li {
  padding: 7px 0; border-bottom: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
}
.cat-list li:last-child { border-bottom: none; }
.cat-list a { font-size: 1.4rem; color: var(--color-text-mid); }
.cat-list a:hover { color: var(--color-brand); }
.cat-count {
  font-size: 1.2rem; color: var(--color-border-mid);
  background: var(--color-border); padding: 1px 7px; border-radius: 10px;
}

/* ── FAQ / AEO ── */
.post-faq { margin-top: 4rem; border-top: 2px solid var(--color-border); padding-top: 2rem; }
.post-faq h2 { font-size: 2rem; font-family: var(--font-heading); margin-bottom: 1.6rem; }

@media (min-width: 1200px) {
  .container {
    max-width: 1400px !important;
    margin: 0 auto;
    width: 100%;
  }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  body { font-size: var(--fs-body); }
  p    { font-size: var(--fs-body); }

  /* Nav collapses to 50px on mobile */
  .navigator { height: 50px; }

  /* Push content below 50px mobile nav */
  .pmt { padding-top: 60px; }

  /* Reduce hero internal padding on mobile */
  .box_pad { padding-top: 2rem; padding-bottom: 2rem; }

  /* Full-width columns on mobile */
  .col-md-5 { width: 100%; }
  .col-sm-12, .col-md-4, .col-md-7, .col-md-8 { width: 100%; }
  .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
  .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
  .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
  .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
  .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
  .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
  .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
  .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
  .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
  .col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,
  .col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,
  .col-xs-12,.col-sm-12,.col-md-12,.col-lg-12 {
    padding-left: 1.5em !important;
    padding-right: 1.5em !important;
  }

  /* Mobile nav shows, desktop nav hides */
  .mobile-hide { display: none; }
  .site_header { display: block; }

  /* Blog-specific mobile */
  .filter-row      { gap: 6px; }
  .blog-pagination { gap: 4px; }
  .pg-btn          { width: 32px; height: 32px; font-size: 1.2rem; }
  .sidebar-box     { margin-top: 3rem; }
  .blog-card--featured { flex-direction: column; }
  .intro-box-blog  { display: none; }

  /* Footer */
  footer p { font-size: 1.4rem; }
  .container-footer { flex-direction: column; text-align: center; }
  .copyright p { font-size: 1.2rem; }
}

@media (max-width: 320px) {
  .container-footer { flex-direction: column; text-align: center; }
  .copyright p { font-size: 1.2rem; }
}
