/* Viện Thẩm Mỹ Ngọc Diệp (thammyvien) — trang trong theo mockup (dịch vụ, giới thiệu, bài viết, liên hệ) 10-01. Dùng biến/khối của nd-home.css (nạp mọi trang). */
.ndi-crumb { font-size: 15.5px; color: #D8D2C8; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.ndi-crumb a { color: #D8D2C8 !important; } .ndi-crumb a:hover { color: var(--nd-gold) !important; } .ndi-crumb i { font-style: normal; opacity: .7; }
.ndi-h1 { color: #F7F2EA !important; font-size: 64px !important; font-weight: 500 !important; line-height: 1.13 !important; margin: 0 0 18px !important; font-stretch: 100% !important; }
.ndi-h1-gold { color: var(--nd-gold) !important; }
.ndi-lead { margin-bottom: 28px; }
.ndi-center { text-align: center; }
.nd-h2.ndi-h2-l { text-align: left; }
.nd-h2.ndi-h2-gold { color: var(--nd-gold) !important; }
.nd-sub.ndi-sub-w { color: #E7E1D7; }
.ndi-eb { color: #6E6A66; margin-bottom: 14px; font-size: 14.5px; }
/* ---------- dải đầu trang (ảnh phải, nền tối trái) ---------- */
.section.ndi-hero { min-height: 484px; padding: 0 !important; }
.ndi-hero-img .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1F1F1F 0%, #1F1F1F 34%, rgba(31,31,31,.6) 48%, rgba(31,31,31,0) 66%); pointer-events: none; }
.ndi-hero-in { padding: 44px 0 56px 0; max-width: 700px; position: relative; z-index: 1; }
.ndi-hero-ab .ndi-hero-in { padding-top: 70px; }
.section.ndi-hero-ct { min-height: 330px; background: linear-gradient(90deg, #1F1F1F 0%, #262626 60%, #2C2A27 100%) !important; overflow: hidden; }
.ndi-hero-ct .ndi-hero-in { padding: 34px 0 40px; }
.ndi-hero-ct .ndi-h1 { font-size: 92px !important; margin-bottom: 8px !important; }
.ndi-ct-leaf { position: absolute; right: -30px; top: 0; height: 330px; width: auto; opacity: .55; pointer-events: none; }
/* ---------- dịch vụ ---------- */
.section.ndi-svc-sec { padding: 44px 0 30px !important; }
.ndi-sv-d { display: block; font-size: 17px; color: #6E6A66; margin-top: 3px; line-height: 1.45; }
.ndi-svc .nd-sv-img { height: 212px; }
.section.ndi-proc-sec { padding: 38px 0 34px !important; background: var(--nd-dark) !important; }
.ndi-proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; }
.ndi-proc > div { text-align: center; color: #E7E1D7; font-size: 17px; line-height: 1.5; padding: 4px 18px; border-left: 1px solid #4A4744; }
.ndi-proc > div:first-child { border-left: 0; }
.ndi-proc .nd-mi { display: block; width: 62px; height: 62px; margin: 0 auto 10px; background: var(--nd-gold); }
.ndi-n { display: block; font-family: "Noto Serif Display", serif; font-size: 34px; color: var(--nd-gold); line-height: 1.1; }
.ndi-proc h3 { color: #F7F2EA !important; font-size: 27px !important; font-weight: 500 !important; margin: 4px 0 10px !important; line-height: 1.25 !important; }
.section.ndi-cost-sec { padding: 44px 0 34px !important; }
.ndi-cost-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 22px; padding: 0 22px 0 30px; }
.ndi-cost-s { font-size: 20px; color: #6E6A66; }
.ndi-cost-n { font-size: 15px; color: #6E6A66; padding-bottom: 6px; }
.ndi-cost { width: calc(100% - 52px); margin: 0 auto 18px; border-collapse: collapse; border: 1px solid #E3DCD0; }
.ndi-cost th { background: #EFE5D3; color: var(--nd-ink); font-size: 17.5px; font-weight: 600; text-align: left; padding: 14px 40px; text-transform: none; letter-spacing: 0; border: 0; }
.ndi-cost td { font-size: 17.5px; color: #3E3A36; padding: 13px 40px; border-top: 1px solid #E3DCD0; border-left: 1px solid #E3DCD0; background: #fff; }
.ndi-cost td:first-child { border-left: 0; } .ndi-cost th + th { border-left: 1px solid #E3DCD0; }
.ndi-cost-f { text-align: center; font-size: 15px; color: #6E6A66; margin: 0 0 18px; }
.ndi-cost-sec .nd-btn { min-height: 50px; padding: 0 48px; font-size: 18px; }
.section.ndi-faq-sec { padding: 22px 0 22px !important; }
.ndi-faqw { display: grid; grid-template-columns: 470px minmax(0, 1fr); gap: 20px; align-items: start; padding: 0 30px; }
.nd-h2.ndi-faq-h { font-size: 58px !important; margin: 14px 0 10px !important; line-height: 1.12 !important; }
.ndi-faq { border: 1px solid #E3DCD0; background: #fff; }
.ndi-faq details { border-top: 1px solid #E3DCD0; }
.ndi-faq details:first-child { border-top: 0; }
.ndi-faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 30px 16px 84px; font-size: 18.5px; font-weight: 500; color: var(--nd-ink); }
.ndi-faq summary::-webkit-details-marker { display: none; }
.ndi-faq summary::before { content: "+"; position: absolute; left: 30px; top: 50%; transform: translateY(-52%); font-size: 30px; font-weight: 300; color: #2B2B2B; }
.ndi-faq details[open] summary::before { content: "−"; }
.ndi-faq details > div { padding: 0 30px 18px 84px; font-size: 16.5px; line-height: 1.6; color: #6E6A66; }
.ndi-faq-line { border: 0; background: transparent; }
.ndi-faq-line details { border-top: 0; border-bottom: 1px solid #D9D2C6; }
.ndi-faq-line summary { padding: 18px 50px 18px 0; font-family: "Noto Serif Display", serif; font-size: 22px; font-stretch: 90%; }
.ndi-faq-line summary::before { left: auto; right: 4px; }
.ndi-faq-line details > div { padding: 0 40px 18px 0; }
/* ---------- giới thiệu ---------- */
.section.ndi-story-sec { padding: 38px 0 34px !important; }
.ndi-story { display: grid; grid-template-columns: minmax(0, 1fr) 704px; gap: 54px; align-items: start; padding-left: 30px; }
.nd-h2.ndi-story-h { font-size: 72px !important; line-height: 1.12 !important; margin: 0 0 26px !important; }
.ndi-p { font-size: 18.5px; line-height: 1.65; color: #4A4744; margin: 0 0 16px; }
.ndi-line { width: 78px; height: 2px; background: var(--nd-gold2); margin: 24px 0 18px; }
.ndi-tagline { font-family: "Noto Serif Display", serif; font-size: 23px; color: #8E7550; }
.ndi-story-img { height: 535px; overflow: hidden; background: #E9E4DC; } .ndi-story-img img, .ndi-space-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section.ndi-vis-sec { padding: 36px 0 44px !important; }
.ndi-vis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 18px; padding: 0 40px; }
.ndi-vis > div { border: 1px solid #D8C49D; background: #FBF8F2; padding: 30px 36px 34px; text-align: center; font-size: 17.5px; line-height: 1.6; color: #4A4744; }
.ndi-vis .nd-mi { display: block; width: 78px; height: 78px; margin: 0 auto 8px; background: var(--nd-gold-t); }
.ndi-vis h3 { font-size: 31px !important; font-weight: 600 !important; color: var(--nd-ink) !important; margin: 0 0 12px !important; }
.section.ndi-space-sec { padding: 40px 0 24px !important; }
.ndi-space { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ndi-space-img { height: 320px; overflow: hidden; background: #E9E4DC; }
.ndi-space h3 { margin: 0 !important; padding: 10px !important; border: 1px solid #D8C49D; border-top: 0; text-align: center; font-size: 23px !important; font-weight: 500 !important; color: var(--nd-ink) !important; }
.section.ndi-com-sec { padding: 40px 0 34px !important; }
.ndi-com { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 60px; }
.ndi-com h3 { font-size: 31px !important; margin: 8px 0 12px !important; }
.section.ndi-cta-sec { padding: 44px 0 42px !important; }
.ndi-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 0 40px; }
.nd-h2.ndi-cta-h { font-size: 66px !important; line-height: 1.1 !important; margin: 0 0 12px !important; }
.ndi-cta-a { display: flex; flex-direction: column; gap: 20px; min-width: 334px; }
.ndi-cta-a .nd-btn { min-height: 76px; font-size: 23px; }
.ndi-cta-tel { display: flex; align-items: center; gap: 18px; font-size: 29px; color: var(--nd-ink) !important; }
.ndi-cta-tel .nd-mi { width: 38px; height: 38px; background: #6B5A45; }
/* ---------- liên hệ ---------- */
.section.ndi-ct-sec { padding: 34px 0 28px !important; }
.ndi-ct { display: grid; grid-template-columns: minmax(0, 1fr) 436px; gap: 42px; padding: 0 40px 0 40px; }
.ndi-ctf.nd-book { padding: 0; max-width: none; }
.nd-h2.ndi-ct-h { font-size: 46px !important; margin: 0 0 10px !important; }
.ndi-ct-s { font-size: 19px; color: #4A4744; margin: 0 0 22px; }
.ndi-ctf label { font-size: 17px; font-weight: 600; color: var(--nd-ink); }
.ndi-ctf input[type=text], .ndi-ctf input[type=tel], .ndi-ctf input[type=email], .ndi-ctf select { height: 50px !important; }
.ndi-ctf textarea { height: 100px !important; }
.ndi-ctf .wpcf7-submit { min-height: 57px; font-size: 20px !important; font-family: "Noto Serif Display", serif !important; color: var(--nd-gold) !important; }
.ndi-ci { display: flex; align-items: center; gap: 22px; border: 1px solid #D9D2C6; background: #fff; padding: 22px 24px; margin: 0 0 14px; }
.ndi-ci > span { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; border: 2px solid #8E7550; display: grid; place-items: center; }
.ndi-ci .nd-mi { width: 36px; height: 36px; background: #8E7550; }
.ndi-ci small { display: block; font-size: 16px; font-weight: 600; color: var(--nd-ink); margin: 0 0 4px; }
.ndi-ci a, .ndi-ci strong { display: block; color: var(--nd-ink) !important; font-size: 20px; font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.ndi-ci a.ndi-ci-big { font-family: "Noto Serif Display", serif; font-size: 27px; font-weight: 600; }
.ndi-hour { display: flex; gap: 28px; align-items: flex-start; padding: 12px 0 0 6px; font-size: 19px; line-height: 1.55; color: var(--nd-ink); }
.ndi-hour .nd-mi { width: 56px; height: 56px; background: #8E7550; }
.ndi-hour small { display: block; font-family: "Noto Serif Display", serif; font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.section.ndi-map-sec { padding: 26px 0 26px !important; }
.ndi-map-h { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 18px; padding: 0 60px; }
.ndi-map-h .nd-h2 { font-size: 46px !important; margin: 0 !important; }
.ndi-map-go { border: 1.5px solid #8E7550; padding: 12px 26px; font-size: 18px; color: var(--nd-ink) !important; border-radius: 3px; }
.ndi-map { position: relative; height: 290px; background: #E9E4DC; overflow: hidden; }
.ndi-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.25) saturate(.8); }
.ndi-map-card { position: absolute; left: 48%; top: 70px; background: #fff; padding: 12px 20px; box-shadow: 0 6px 18px rgba(0,0,0,.12); pointer-events: none; }
.ndi-map-card strong { display: block; font-family: "Noto Serif Display", serif; font-size: 18px; color: var(--nd-ink); } .ndi-map-card span { font-size: 15px; color: #4A4744; }
/* ---------- bài viết ---------- */
.ndp-page { background: var(--nd-cream); }
.ndp-wrap { max-width: 1300px; margin: 0 auto; padding: 0 15px; }
.ndp-head { padding: 36px 15px 26px 100px; }
.ndp-head .ndi-crumb { color: #4A4744; } .ndp-head .ndi-crumb a { color: #4A4744 !important; }
.ndp-badge { display: inline-block; background: #EFE3CB; color: #2B2B2B !important; font-size: 14.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; padding: 6px 14px; border-radius: 3px; margin: 0 0 14px; }
.ndp-title { font-size: 64px !important; font-weight: 500 !important; line-height: 1.13 !important; color: var(--nd-ink) !important; max-width: 820px; margin: 0 0 12px !important; }
.ndp-ex { font-size: 23px; color: #4A4744; margin: 0 0 22px; }
.ndp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 17px; color: #4A4744; }
.ndp-meta span { display: inline-flex; align-items: center; gap: 12px; } .ndp-meta .nd-mi { width: 24px; height: 24px; background: #6E6A66; } .ndp-meta i { font-style: normal; }
.ndp-hero { margin: 0 auto 24px; padding: 0 15px; }
.ndp-hero img, .ndp-noimg { display: block; width: 100%; height: 365px; object-fit: cover; background: #E9E4DC; }
.ndp-hero figcaption, .ndp-fig figcaption { text-align: center; font-size: 14px; color: #6E6A66; margin-top: 10px; }
.ndp-body { display: grid; grid-template-columns: minmax(0, 1fr) 413px; gap: 38px; padding-left: 100px; padding-bottom: 20px; align-items: start; }
.ndp-art { font-size: 18.5px; line-height: 1.65; color: #4A4744; }
.ndp-art > p:first-child { margin: 0 0 18px; }
.ndp-toc { background: #F3ECE0; border: 1px solid #E8DCC6; border-radius: 4px; padding: 20px 28px 22px; margin: 0 0 28px; }
.ndp-toc-t { font-family: "Noto Serif Display", serif; font-size: 25px; font-weight: 600; color: var(--nd-ink); margin: 0 0 12px; }
.ndp-toc ol { list-style: none; margin: 0 !important; padding: 0; }
.ndp-toc li { margin: 0 0 8px !important; list-style: none; }
.ndp-toc a { display: flex; align-items: center; gap: 16px; color: #3E3A36 !important; font-size: 17.5px; }
.ndp-toc b { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #C2A774; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.ndp-content h2 { font-size: 44px !important; font-weight: 500 !important; color: var(--nd-ink) !important; line-height: 1.2 !important; margin: 30px 0 10px !important; }
.ndp-content h3 { font-size: 31px !important; font-weight: 500 !important; color: var(--nd-ink) !important; margin: 20px 0 8px !important; }
.ndp-content ul { list-style: none; margin: 0 0 18px !important; padding: 0; }
.ndp-content li { position: relative; padding-left: 32px; margin: 0 0 6px !important; list-style: none; }
.ndp-content li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 13px; height: 13px; border-radius: 50%; background: #D5BF95; }
.ndp-fig { margin: 18px 0 22px; } .ndp-fig img { display: block; width: 100%; height: 360px; object-fit: cover; background: #E9E4DC; }
.ndp-note { display: block; background: #F3ECE0; border-left: 5px solid #C2A774; padding: 16px 24px 16px 70px; margin: 0 0 22px; position: relative; font-size: 16.5px; line-height: 1.55; }
.ndp-note::before { content: ""; position: absolute; left: 24px; top: 18px; width: 28px; height: 28px; background: #A38450; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='3' width='13' height='17' rx='2'/%3E%3Cpath d='M7.5 8h6M7.5 11.5h6M7.5 15h3.5M14 21l6-6-2-2-6 6v2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='3' width='13' height='17' rx='2'/%3E%3Cpath d='M7.5 8h6M7.5 11.5h6M7.5 15h3.5M14 21l6-6-2-2-6 6v2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ndp-note strong { display: block; font-family: "Noto Serif Display", serif; font-size: 22px; font-weight: 600; color: var(--nd-ink); margin-bottom: 4px; }
.ndp-note p { margin: 0; }
.ndp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #DDD5C8; margin-top: 24px; padding-top: 18px; }
.ndp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 16px; }
.ndp-tags a { border: 1px solid #D9D2C6; border-radius: 20px; padding: 6px 18px; color: #3E3A36 !important; font-size: 15.5px; background: #fff; }
.ndp-share { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #CFC8BD; border-radius: 4px; padding: 10px 24px; font-size: 16px; color: var(--nd-ink) !important; background: #fff; }
.ndp-side { display: flex; flex-direction: column; gap: 22px; }
.ndp-cta { background: var(--nd-dark); color: #E7E1D7; padding: 30px 30px 26px; border-radius: 4px; }
.ndp-cta h3 { color: var(--nd-gold) !important; font-size: 42px !important; font-weight: 500 !important; line-height: 1.15 !important; margin: 0 0 14px !important; }
.ndp-cta p { font-size: 17.5px; line-height: 1.55; margin: 0 0 18px; }
.ndp-cta .nd-btn { width: 100%; min-height: 56px; font-size: 18px; margin-bottom: 18px; }
.ndp-tel { display: flex; align-items: center; gap: 16px; color: #fff !important; font-size: 23px; font-weight: 600; } .ndp-tel .nd-mi { width: 26px; height: 26px; background: #fff; }
.ndp-box { background: #F4EFE6; padding: 24px 26px 14px; border-radius: 4px; }
.ndp-box h3 { font-size: 29px !important; font-weight: 500 !important; color: var(--nd-ink) !important; margin: 0 0 14px !important; }
.ndp-pop { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 22px; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid #E2D9CA; }
.ndp-pop:last-child { border-bottom: 0; }
.ndp-pop-img { height: 122px; background: #E9E4DC; overflow: hidden; } .ndp-pop-img img, .ndp-rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ndp-pop-t { position: relative; font-family: "Noto Serif Display", serif; font-size: 19px; color: var(--nd-ink); line-height: 1.35; padding: 10px 0 30px; }
.ndp-pop-t i, .ndp-cat i { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 22px; color: #3E3A36; }
.ndp-cat { position: relative; display: block; padding: 14px 0; border-bottom: 1px solid #E2D9CA; font-size: 19px; color: #3E3A36 !important; }
.ndp-cat i { top: 12px; bottom: auto; } .ndp-cat:last-child { border-bottom: 0; }
.ndp-rel { background: #F4EFE6; padding: 36px 0 18px; margin-top: 10px; }
.nd-h2.ndp-rel-h { font-size: 37px !important; margin-bottom: 4px !important; }
.ndp-rel-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 100px; }
.ndp-rc { background: #fff; display: block; border-radius: 4px; overflow: hidden; }
.ndp-rc-img { display: block; height: 152px; background: #E9E4DC; }
.ndp-rc-b { display: block; padding: 16px 22px 16px; }
.ndp-rc-t { display: block; font-family: "Noto Serif Display", serif; font-size: 23px; color: var(--nd-ink); line-height: 1.3; min-height: 2.6em; }
.ndp-rc-m { display: block; color: #9A7B4F; font-size: 16px; margin-top: 8px; } .ndp-rc-m i { font-style: normal; margin-left: 6px; }
.single-post #comments, .page-id-21 #comments, .page-id-27 #comments, .page-id-1535 #comments { display: none !important; }
.widget-area .textwidget, .widget-area .textwidget a { overflow-wrap: anywhere; }
/* ruler:manual (10-02, theo bề rộng dòng _cmpw so mockup trang trong) */
@media (min-width: 850px) {
  .ndi-vis .nd-mi { width: 96px; height: 90px; } .ndi-proc .nd-mi { width: 76px; height: 72px; }
  .ndi-hero .ndi-h1 { font-size: 70px !important; } .ndi-hero-ct .ndi-h1 { font-size: 80px !important; }
  .ndi-hero-ab .ndi-lead { font-size: 26px; }
  .ndi-proc-sec .nd-h2.ndi-h2-gold { font-size: 56px !important; }
  .ndi-story { grid-template-columns: minmax(0, 1fr) 620px; }
  .nd-h2.ndi-story-h { font-size: 66px !important; }
  .ndi-vis-sec .nd-h2 { font-size: 47px !important; }
  .ndi-com-sec .nd-h2.ndi-h2-gold { font-size: 57px !important; }
  .ndp-content h3 { font-size: 28px !important; }
  .nd-h2.ndp-rel-h { font-size: 33px !important; }
  .nd-h2.ndi-ct-h { font-size: 41px !important; }
  .page-id-27 .nd-h2.ndi-faq-h { font-size: 52px !important; }
}
/* ---------- mobile ---------- */
@media (max-width: 849px) {
  .section.ndi-hero { padding-top: 230px !important; min-height: 0; }
  .ndi-hero-img .section-bg { top: 0 !important; bottom: auto !important; height: 230px !important; }
  .ndi-hero-img .section-bg img.bg { object-position: 78% 30% !important; }
  .ndi-hero-img .section-bg::after { display: none; }
  .section.ndi-hero-ct { padding-top: 0 !important; }
  .ndi-hero-in, .ndi-hero-ab .ndi-hero-in { padding: 26px 0 32px; }
  .ndi-h1 { font-size: 38px !important; } .ndi-hero-ct .ndi-h1 { font-size: 56px !important; }
  .ndi-ct-leaf { height: 200px; right: -60px; opacity: .3; }
  .ndi-proc, .ndi-com { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0; }
  .ndi-proc > div { border-left: 0; border-top: 1px solid #4A4744; padding-top: 22px; } .ndi-proc > div:first-child { border-top: 0; padding-top: 0; }
  .ndi-proc h3, .ndi-com h3 { font-size: 24px !important; }
  .ndi-cost-h { flex-direction: column; align-items: flex-start; padding: 0; }
  .ndi-cost { width: 100%; } .ndi-cost th, .ndi-cost td { padding: 12px 14px; font-size: 15.5px; }
  .ndi-faqw, .ndi-story, .ndi-ct { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 0; }
  .nd-h2.ndi-faq-h, .nd-h2.ndi-story-h, .nd-h2.ndi-cta-h { font-size: 38px !important; }
  .ndi-faq summary { padding: 14px 16px 14px 52px; font-size: 16.5px; } .ndi-faq summary::before { left: 16px; } .ndi-faq details > div { padding: 0 16px 16px 52px; }
  .ndi-faq-line summary { padding: 14px 40px 14px 0; font-size: 19px; } .ndi-faq-line summary::before { left: auto; right: 4px; } .ndi-faq-line details > div { padding: 0 0 16px; }
  .ndi-story-img { height: 280px; }
  .ndi-vis, .ndi-space { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 16px; }
  .ndi-space-img { height: 220px; }
  .ndi-cta { flex-direction: column; align-items: flex-start; padding: 0; } .ndi-cta-a { min-width: 0; width: 100%; } .ndi-cta-a .nd-btn { min-height: 58px; font-size: 19px; }
  .nd-h2.ndi-ct-h, .ndi-map-h .nd-h2 { font-size: 32px !important; }
  .ndi-ci { padding: 16px; gap: 16px; } .ndi-ci > span { flex-basis: 56px; width: 56px; height: 56px; } .ndi-ci .nd-mi { width: 26px; height: 26px; } .ndi-ci a, .ndi-ci strong { font-size: 17px; }
  .ndi-map-h { padding: 0; flex-wrap: wrap; } .ndi-map-card { left: 14px; top: 14px; }
  .ndp-head { padding: 26px 15px 20px; } .ndp-title { font-size: 36px !important; } .ndp-ex { font-size: 18px; }
  .ndp-hero img, .ndp-noimg { height: 220px; }
  .ndp-body { grid-template-columns: minmax(0, 1fr); padding-left: 15px; gap: 26px; }
  .ndp-content h2 { font-size: 30px !important; } .ndp-content h3 { font-size: 24px !important; } .ndp-fig img { height: 230px; }
  .ndp-foot { flex-direction: column; align-items: flex-start; }
  .ndp-rel-g { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .ndp-cta h3 { font-size: 32px !important; }
}
/* mid-fix */ @media (min-width: 850px) and (max-width: 1299px) { .ndi-story { grid-template-columns: minmax(0, 1fr) 48%; padding-left: 0; } .nd-h2.ndi-story-h { font-size: 56px !important; } .ndi-ct { grid-template-columns: minmax(0, 1fr) 40%; padding: 0; } .ndi-faqw { grid-template-columns: 36% minmax(0, 1fr); padding: 0; } .ndp-head, .ndp-body { padding-left: 15px; } .ndp-body { grid-template-columns: minmax(0, 1fr) 34%; } .ndp-rel-g { padding: 0; } .ndi-vis, .ndi-com, .ndi-cta { padding: 0; } .nd-h2.ndi-cta-h { font-size: 52px !important; } .ndi-cta-a { min-width: 280px; } } @media (min-width: 850px) and (max-width: 1099px) { .ndi-proc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; } .ndi-proc > div:nth-child(3) { border-left: 0; } .ndi-ct, .ndp-body { grid-template-columns: minmax(0, 1fr); } .ndi-vis { gap: 16px; } .ndi-vis > div { padding: 24px 18px; } .ndi-space-img { height: 220px; } .ndi-map-h { padding: 0; } } /* /mid-fix */
.wpcf7-form div > p:has(> label ~ label) { display: contents; }
/* chỉnh sau so mockup (10-01): serif trang trong đậm hơn, tiêu đề hẹp */
.ndi-h1, .ndp-title { font-weight: 600 !important; font-stretch: 88% !important; }
.ndi-page .nd-h2, .ndi-svc-sec .nd-h2, .ndi-proc h3, .ndi-vis h3, .ndi-space h3, .ndp-content h2, .ndp-content h3, .ndp-box h3, .ndp-cta h3, .ndp-toc-t { font-weight: 600 !important; }
.ndp-title { max-width: 900px; }
@media (min-width: 850px) { .nd-h2.ndi-story-h { font-size: 60px !important; } }
.section.ndi-hero-ct { min-height: 230px; }
@media (min-width: 850px) { .ndi-hero-ct .ndi-hero-in { padding: 24px 0 28px; } .ndi-hero-ct .ndi-h1 { font-size: 80px !important; } }
.ndi-ct-leaf { height: 240px; }
.ndi-map-go { white-space: nowrap; }
/* fix1005: ảnh đầu bài (ảnh nguồn ~800px) không phóng quá 1.2x — khung 960px canh theo cột chữ (padding-left 100 như .ndp-body) */
@media (min-width: 1300px) { .ndp-wrap.ndp-hero { max-width: 1060px; margin-left: calc(50% - 650px); margin-right: auto; padding-left: 100px; padding-right: 0; } }
@media (min-width: 850px) and (max-width: 1299px) { .ndp-wrap.ndp-hero { max-width: 975px; margin-left: 0; padding-left: 15px; } }
/* fix1005: chuyên mục (tpl-nd-cat.php) — dải tối như Liên hệ, chip, lưới thẻ bài, dải đặt lịch */
.ndc-page { background: #FBFAF8; }
.ndc-hero { background: linear-gradient(90deg, #1F1F1F 0%, #262626 60%, #2C2A27 100%); color: #E7E1D7; padding: 34px 0 44px; }
.ndc-hero .ndi-crumb, .ndc-hero .ndi-crumb a { color: #CFC7BA !important; }
.ndc-h1 { font-family: "Noto Serif Display", serif; color: var(--nd-gold) !important; font-size: 72px !important; font-weight: 500 !important; line-height: 1.1 !important; margin: 14px 0 10px !important; }
.ndc-lead { font-size: 19px; line-height: 1.6; max-width: 720px; }
.ndc-body { padding-top: 34px; padding-bottom: 50px; }
.ndc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.ndc-chips a { padding: 9px 20px; border: 1px solid #D9CFBF; border-radius: 40px; color: var(--nd-ink) !important; font-size: 16px; background: #fff; }
.ndc-chips a.on, .ndc-chips a:hover { background: var(--nd-dark); border-color: var(--nd-dark); color: #fff !important; }
.ndc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ndc-card { border: 1px solid #EEE7DC; } .ndc-card .ndp-rc-img { height: 230px; }
.ndc-tag { display: inline-block; background: #F1E8D8; color: #8A6A3A; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; margin-bottom: 10px; }
.ndc-ex { display: block; color: #6E6A66; font-size: 16px; line-height: 1.55; margin-top: 8px; }
.ndc-empty { background: #fff; border: 1px solid #EEE7DC; padding: 26px; font-size: 17px; }
.ndc-cta { background: var(--nd-dark); color: #E7E1D7; padding: 40px 0; }
.ndc-cta .ndp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ndc-cta-h { font-family: "Noto Serif Display", serif; color: var(--nd-gold) !important; font-size: 40px !important; font-weight: 500 !important; margin: 0 0 6px !important; }
.ndc-cta-a { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; } .ndc-cta-a .nd-btn { min-height: 54px; padding: 0 30px; margin: 0; }
@media (max-width: 1099px) { .ndc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 849px) { .ndc-h1 { font-size: 44px !important; } .ndc-lead { font-size: 16.5px; } .ndc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } .ndc-card .ndp-rc-img { height: 200px; } .ndc-cta-h { font-size: 30px !important; } .ndc-hero { padding: 24px 0 30px; } }
