/*
Theme Name: NPT Child
Theme URI: https://npt.io.vn
Description: Child theme for GeneratePress - custom profile/blog layout for NPT
Author: NPT
Author URI: https://npt.io.vn
Template: generatepress
Version: 1.0.2
Text Domain: npt-child
*/

:root {
  --npt-accent: #d7ff3f;
  --npt-accent-soft: #eef8c7;
  --npt-accent-strong: #c9f12c;
  --npt-bg: #f7f9f2;
  --npt-text: #111111;
  --npt-muted: #5b6166;
  --npt-dark: #101110;
  --npt-dark-2: #181a18;
  --npt-card-border: #e4e8d8;
  --npt-white: #ffffff;
  --npt-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--npt-bg);
  color: var(--npt-text);
}

body, button, input, select, textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--npt-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

a { color: var(--npt-text); transition: all .2s ease; }
a:hover { color: #000; }

.site {
  background: transparent;
}

.site-header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid #ecefe3;
  backdrop-filter: blur(10px);
}

.main-navigation .main-nav ul li a {
  font-weight: 600;
  font-size: 15px;
}

.site-branding .main-title,
.site-branding .main-title a {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--npt-text);
}

.site-description {
  color: var(--npt-muted);
  font-size: 13px;
}

.home .site-content,
.home .inside-article,
.home .entry-content {
  margin: 0;
  padding: 0;
}

.home .site-main .post,
.home .site-main article {
  margin-bottom: 0;
}

.home .entry-header {
  display: none;
}

.npt-home section {
  position: relative;
  padding: 78px 0;
}

.npt-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.npt-hero {
  background:
    radial-gradient(circle at top right, rgba(215,255,63,0.35), transparent 30%),
    linear-gradient(180deg, #fbfcf7 0%, #f7f9f2 100%);
  padding: 110px 0 86px;
  overflow: hidden;
}

.npt-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.npt-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--npt-muted);
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 700;
}

.npt-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 760px;
}

.npt-lead {
  font-size: 19px;
  line-height: 1.75;
  max-width: 760px;
  color: var(--npt-muted);
}

.npt-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.npt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

.npt-btn-primary {
  background: var(--npt-accent);
  color: var(--npt-text);
  box-shadow: 0 12px 24px rgba(215,255,63,0.18);
}

.npt-btn-primary:hover {
  transform: translateY(-1px);
  background: var(--npt-accent-strong);
  color: var(--npt-text);
}
.npt-btn-outline {
  border: 1px solid rgba(17,17,17,0.18);
  color: var(--npt-text);
  background: #fff;
}

.npt-btn-outline:hover {
  border-color: var(--npt-text);
  background: var(--npt-text);
  color: #fff;
}

.npt-hero-panel {
  background: #fff;
  border: 1px solid #edf0e4;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--npt-shadow);
  min-height: 420px;
  overflow: hidden;
}

.npt-hero-panel h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 18px;
}

.npt-mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--npt-muted);
  line-height: 1.85;
}

.npt-section-light { background: #fff; }
.npt-section-soft { background: #f1f5e8; }
.npt-section-dark { background: var(--npt-dark); color: #fff; }

.npt-section-dark h2,
.npt-section-dark h3,
.npt-section-dark p {
  color: #fff;
}

.npt-grid {
  display: grid;
  gap: 20px;
}

.npt-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.npt-card {
  background: #fff;
  border: 1px solid var(--npt-card-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--npt-shadow);
}

.npt-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.npt-card p {
  color: var(--npt-muted);
  margin-bottom: 0;
  line-height: 1.75;
}

.npt-dark-card {
  background: var(--npt-dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
}

.npt-dark-card h3 {
  color: var(--npt-accent);
  margin-top: 0;
  font-size: 20px;
}

.npt-dark-card p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  line-height: 1.8;
}

.npt-section-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 18px;
}

.npt-copy {
  color: var(--npt-muted);
  font-size: 17px;
  line-height: 1.85;
  max-width: 1100px;
}

.npt-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.npt-kpi {
  background: #fff;
  border: 1px solid var(--npt-card-border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--npt-shadow);
}

.npt-kpi strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.npt-kpi span {
  color: var(--npt-muted);
  font-size: 14px;
}

.npt-blog-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px;
  border: 1px solid var(--npt-card-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--npt-shadow);
}

.npt-contact {
  background: linear-gradient(180deg, #eef8c7 0%, #f5f8df 100%);
}

.npt-contact-box {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(17,17,17,0.06);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--npt-shadow);
}

.npt-contact-box a {
  font-weight: 700;
}

.site-footer {
  background: #0f110f;
  color: #fff;
}

.site-footer a {
  color: var(--npt-accent);
}

.footer-widgets,
.inside-site-info {
  color: #fff;
}

@media (max-width: 920px) {
  .npt-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .npt-home section {
    padding: 56px 0;
  }

  .npt-hero {
    padding: 78px 0 60px;
  }

  .npt-lead {
    font-size: 17px;
  }

  .npt-btn {
    width: 100%;
  }
}

.npt-kpis {
  align-items: stretch;
}

.npt-kpi {
  min-height: 120px;
  display: flex;
  flex-direction: column;
justify-content: flex-start;
}

.npt-kpi strong {
  font-size: 22px;
  line-height: 1.2;
  word-break: normal;
  overflow-wrap: normal;
}

.npt-kpi span {
  display: block;
  margin-top: 8px;
  line-height: 1.6;
}

.npt-kpi strong {
  font-size: 20px;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.npt-kpis {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: stretch;
}

.npt-kpi {
  min-height: 120px;
  display: flex;
flex-direction: column;
  justify-content: flex-start;
}

.npt-kpi strong {
  font-size: 19px;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
  text-transform: none;
}

.npt-kpi span {
  display: block;
  margin-top: 8px;
  line-height: 1.55;
  font-size: 13px;
}

body,
button,
input,
select,
textarea,
.main-navigation .main-nav ul li a,
.site-title,
.site-branding .main-title,
.site-branding .main-title a,
.site-description,
.npt-copy,
.npt-lead,
.npt-kpi span,
.npt-kpi strong,
.npt-btn,
.footer-widgets,
.inside-site-info {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body,
.npt-copy,
.npt-lead,
.npt-kpi span,
.footer-widgets,
.inside-site-info {
  font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.site-branding .main-title,
.site-branding .main-title a,
.npt-kpi strong,
.npt-btn,
.main-navigation .main-nav ul li a {
  font-weight: 700 !important;
}

body,
.npt-copy,
.npt-lead {
  line-height: 1.75;
  letter-spacing: 0;
}

.npt-section-light .npt-wrap {
  background: transparent !important;
}

.npt-section-light .npt-copy,
.npt-section-light .npt-section-title {
  background: transparent !important;
}

.npt-section-light {
  background: #f8faf2 !important;
}

.npt-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.npt-card p {
  flex: 1;
}

.npt-dark-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.npt-dark-card p {
  flex: 1;
}

.site-info {
  font-size: 0 !important;
}

.site-info::before {
  content: "© 2026 NPT";
  font-size: 14px;
  color: #fff;
}

.page .site-main {
  width: 100%;
}

.page .inside-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px;
  background: transparent !important;
  box-shadow: none !important;
}

.page .entry-content p {
  font-size: 17px;
  line-height: 1.85;
  color: #4b5358;
}

.page .entry-content h1 {
  font-size: 42px;
  margin-bottom: 24px;
}

.page .entry-content h2,
.page .entry-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}
