/*
Theme Name: ThicongHVAC Kadence
Theme URI: https://thiconghvac.com
Description: Kadence child theme for the Vo Gia Tien HVAC lead generation website.
Author: Vo Gia Tien
Template: kadence
Version: 1.0.0
Text Domain: thiconghvac-kadence
*/

:root {
  --thv-blue: #0b4f8a;
  --thv-blue-dark: #073a66;
  --thv-sky: #e8f5ff;
  --thv-red: #d61f2c;
  --thv-cta: #f59e0b;
  --thv-cta-dark: #d97706;
  --thv-accent: #0891b2;
  --thv-ink: #172337;
  --thv-muted: #607083;
  --thv-line: #dbe6ef;
  --thv-bg: #f5f8fb;
  --thv-white: #ffffff;
  --thv-admin-offset: 0px;
  --thv-topbar-height: 36px;
  --thv-header-height: 60px;
  --thv-fixed-stack-height: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--thv-admin-offset) + var(--thv-fixed-stack-height) + 20px);
}

body {
  color: var(--thv-ink);
  background: var(--thv-bg);
  font-size: 16px;
  line-height: 1.6;
  padding-top: var(--thv-fixed-stack-height);
}

body,
button,
input,
select,
optgroup,
textarea,
p,
li {
  font-size: 16px;
}

a {
  color: var(--thv-blue);
}

.site-main,
.content-area {
  background: var(--thv-white);
}

.site-header {
  position: fixed !important;
  top: calc(var(--thv-admin-offset) + var(--thv-topbar-height));
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 35, 55, 0.12);
  transform: translateZ(0);
}

.site-header-upper-inner-wrap {
  height: 80px !important;
  min-height: 80px !important;
}

body.admin-bar .site-header {
  top: calc(var(--thv-admin-offset) + var(--thv-topbar-height));
}

.site-branding .custom-logo,
.site-branding img {
  width: auto;
  max-width: 210px;
  max-height: 48px;
  object-fit: contain;
}

.site-branding .site-title-wrap,
.site-branding .site-title,
.site-branding .site-description {
  display: none !important;
}

.main-navigation a,
.mobile-navigation a {
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.page .entry-hero,
.single .entry-hero,
.blog .entry-hero,
.archive .entry-hero,
.site-footer {
  display: none;
}

.content-area,
.site-main,
.content-container,
.entry-content-wrap,
.content-bg {
  margin-top: 0 !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.thv-topbar {
  position: fixed;
  top: var(--thv-admin-offset);
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: #fff;
  background: var(--thv-blue-dark);
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(7, 58, 102, 0.18);
}

.entry-content-wrap .entry-footer .entry-tags {
	padding: 20px 0px;
}

.entry-content-wrap .thv-section-why-choose,.thv-section-process,.thv-section-projects {
	border-radius: 16px;
}

.entry-related {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}

.entry-related .entry-related-inner .entry-related-inner-content {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

@media (max-width: 782px) {
  .thv-topbar {
    display: none !important;
  }
}

.thv-topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.home .thv-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.home .thv-section+.thv-section {
  border-top: 1px solid rgba(219, 230, 239, 0.72);
}

.thv-section.thv-muted {
  background: var(--thv-bg);
}

.thv-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.thv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--thv-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
}

.thv-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}


.thv-title {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--thv-ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.thv-title.small {
  font-size: clamp(28px, 3vw, 40px);
}

.thv-title.small::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--thv-red);
}

.thv-lead {
  max-width: 760px;
  color: var(--thv-muted);
  font-size: 15px;
  line-height: 1.65;
}

.thv-hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 40, 73, 0.94), rgba(7, 58, 102, 0.76)), var(--thv-blue-dark);
}

.thv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--thv-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.thv-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, 100%);
  min-height: 590px;
  margin: 0 auto;
  padding: 54px 20px;
}

.thv-hero .thv-title,
.thv-hero .thv-lead {
  color: #fff;
}

.thv-hero .thv-title {
  max-width: 900px;
  font-size: clamp(46px, 5.6vw, 72px);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.2);
}

.thv-hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 24px;
}

.thv-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.thv-stat {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.thv-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.thv-stat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.9;
}

.thv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.thv-button,
.thv-button:visited,
.thv-form button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: var(--thv-cta);
  color: #172337;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.thv-button::before,
.thv-form button::before {
  content: "\203A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.thv-button[href^="tel:"]::before {
  content: "\260E";
  font-size: 13px;
}

.thv-button[href^="mailto:"]::before {
  content: "\2709";
  font-size: 13px;
}

.thv-button:hover,
.thv-button:focus,
.thv-form button:hover,
.thv-form button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.36);
  background: var(--thv-cta-dark);
  color: #fff;
  text-decoration: none;
}

.thv-button:hover::before,
.thv-button:focus::before,
.thv-form button:hover::before,
.thv-form button:focus::before {
  transform: translateX(2px) scale(1.05);
  background: rgba(255, 255, 255, 0.26);
}

.thv-button.secondary,
.thv-button.secondary:visited {
  background: #fff;
  color: var(--thv-blue-dark);
  box-shadow: 0 10px 22px rgba(23, 35, 55, 0.14);
}

.thv-button.secondary::before {
  background: rgba(11, 79, 138, 0.1);
}

.thv-button.secondary:hover,
.thv-button.secondary:focus {
  background: var(--thv-blue-dark);
  color: #fff;
  box-shadow: 0 16px 30px rgba(7, 58, 102, 0.28);
}

.thv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.thv-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thv-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--thv-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.thv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 79, 138, 0.24);
  box-shadow: 0 18px 36px rgba(23, 35, 55, 0.1);
}

.thv-card-body {
  padding: 20px;
}

.thv-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.thv-card p {
  color: var(--thv-muted);
  line-height: 1.65;
}

.thv-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.thv-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.thv-pill-list li {
  padding: 8px 12px;
  border: 1px solid var(--thv-line);
  border-radius: 999px;
  background: #fff;
  color: var(--thv-blue-dark);
  font-weight: 700;
  font-size: 16px;
}

.thv-process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.thv-process li {
  counter-increment: step;
  list-style: none;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--thv-line);
  background: #fff;
}

.thv-process li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--thv-blue);
  font-weight: 900;
}

.thv-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
  align-items: start;
}

.thv-check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.thv-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--thv-ink);
  font-weight: 700;
}

.thv-check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--thv-blue);
  font-size: 12px;
  font-weight: 900;
}

.thv-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--thv-line);
  border-radius: 8px;
  background: #fff;
}

.thv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.thv-form label {
  display: grid;
  gap: 7px;
  color: var(--thv-ink);
  font-weight: 800;
}

.thv-form input,
.thv-form select,
.thv-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd8e3;
  border-radius: 6px;
  background: #fff;
  color: var(--thv-ink);
}

.thv-form textarea {
  min-height: 132px;
  resize: vertical;
}

.thv-alert {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 800;
}

.thv-alert.success {
  color: #0f5132;
  background: #d1e7dd;
}

.thv-alert.error {
  color: #842029;
  background: #f8d7da;
}

.thv-contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thv-contact-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--thv-blue);
  background: var(--thv-bg);
}

.thv-scroll-top {
  position: fixed;
  z-index: 999;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--thv-blue-dark);
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.2);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.thv-scroll-top:hover,
.thv-scroll-top:focus {
  background: var(--thv-blue);
  transform: translateY(-2px);
}

.thv-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.thv-scroll-top.is-visible:hover,
.thv-scroll-top.is-visible:focus {
  transform: translateY(-2px);
}

.thv-scroll-top span {
  margin-left: 8px;
  font-size: 16px;
}

.thv-pdf-viewer {
  overflow: hidden;
  border: 1px solid var(--thv-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.08);
}

.thv-pdf-viewer iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

.thv-footer-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.thv-site-footer {
  padding: 28px 20px 28px;
  color: #fff;
  background: #082f53;
}

.thv-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 0.7fr;
  gap: 28px;
}

.thv-site-footer h3,
.thv-site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.thv-site-footer p,
.thv-site-footer li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.thv-site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thv-site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.thv-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.thv-listing-content-area {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--thv-white);
}

.thv-listing-hero {
  padding: 26px 20px 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 58, 102, 0.98), rgba(11, 79, 138, 0.88));
}

.thv-listing-hero .thv-title,
.thv-listing-hero .thv-lead {
  color: #fff;
}

.thv-listing-hero .thv-kicker {
  color: #7dd3fc;
}

.thv-listing-hero .thv-title {
  max-width: 900px;
}

.thv-listing-section {
  padding-top: 20px;
}

.thv-archive-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--thv-line);
}

.thv-archive-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.thv-archive-count {
  color: var(--thv-muted);
  font-weight: 800;
}

.thv-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.thv-archive-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--thv-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.thv-archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 79, 138, 0.24);
  box-shadow: 0 18px 36px rgba(23, 35, 55, 0.1);
}

.thv-archive-image {
  display: block;
  overflow: hidden;
  background: var(--thv-bg);
}

.thv-archive-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.thv-archive-card:hover .thv-archive-image img {
  transform: scale(1.035);
}

.thv-archive-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.thv-archive-body h2 {
  margin: 0;
  color: var(--thv-ink);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.thv-archive-body h2 a {
  color: inherit;
  text-decoration: none;
}

.thv-archive-body p {
  margin: 0;
  color: var(--thv-muted);
  line-height: 1.65;
}

.thv-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--thv-blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.thv-archive-meta span,
.thv-archive-meta a {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--thv-sky);
  color: var(--thv-blue-dark);
  text-decoration: none;
}

.thv-archive-body .thv-button {
  justify-self: start;
  margin-top: 4px;
}

.thv-pagination {
  margin-top: 30px;
}

.thv-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.thv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--thv-line);
  border-radius: 6px;
  background: #fff;
  color: var(--thv-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.thv-pagination .page-numbers.current,
.thv-pagination .page-numbers:hover {
  border-color: var(--thv-blue);
  background: var(--thv-blue);
  color: #fff;
}

.thv-empty-state {
  padding: 24px;
  border: 1px solid var(--thv-line);
  border-radius: 8px;
  background: var(--thv-bg);
  color: var(--thv-muted);
  font-weight: 800;
}

@media (max-width: 900px) {

  .thv-hero-inner,
  .thv-grid,
  .thv-grid.two,
  .thv-archive-grid,
  .thv-footer-grid,
  .thv-process,
  .thv-form-grid {
    grid-template-columns: 1fr;
  }

  .thv-hero,
  .thv-hero-inner {
    min-height: auto;
  }

  .thv-section {
    padding: 38px 16px;
  }
}

@media (max-width: 560px) {

  .site-branding .custom-logo,
  .site-branding img {
    max-width: 162px;
    max-height: 44px;
  }

  .thv-topbar {
    display: grid;
    justify-items: center;
    gap: 5px;
    font-size: 13px;
    line-height: 1.35;
  }

  .thv-title {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .thv-title.small {
    font-size: clamp(28px, 8vw, 34px);
  }

  .thv-hero .thv-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
  }

  .thv-hero .thv-lead {
    width: 100%;
    max-width: 100%;
  }

  .thv-hero-inner {
    padding: 38px 16px 96px;
  }

  .thv-hero-panel {
    padding: 18px;
  }

  .thv-stat-grid {
    grid-template-columns: 1fr;
  }

  .thv-scroll-top {
    left: 12px;
    bottom: 72px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .thv-scroll-top span {
    display: none;
  }

  body {
    padding-bottom: 72px;
  }
}

/* --- Service Detail Styles --- */
.thv-service-hero.compact {
  padding: 34px 20px 32px;
  background: linear-gradient(135deg, #072849 0%, #0b4f8a 100%);
  color: #fff;
}

.thv-service-hero.compact .thv-title,
.thv-service-hero.compact .thv-lead {
  color: #fff;
}

.thv-service-hero.compact .thv-button.secondary {
  background: var(--thv-red);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px rgba(214, 31, 44, 0.28);
}

.thv-service-hero.compact .thv-button.secondary:hover {
  background: #a51822;
  color: #fff;
}

.thv-breadcrumb-top {
  margin: 0 0 14px;
}

.thv-back-link-simple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  opacity: 0.82;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.thv-back-link-simple:hover,
.thv-back-link-simple:focus {
  opacity: 1;
  transform: translateX(-3px);
  color: #fff;
  text-decoration: none;
}

.thv-service-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: center;
}

.thv-service-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.thv-service-hero-image img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.thv-service-hero-image:hover img {
  transform: scale(1.03);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.34);
}

.thv-service-overview-section {
  padding: 20px 20px;
  background: #fff;
}

.thv-service-editor-section {
  padding: 20px 20px;
}

.thv-service-overview {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
}

.thv-service-highlights {
  background: linear-gradient(180deg, #f3fbff 0%, #e8f5ff 100%);
  padding: 24px;
  border: 1px solid rgba(8, 145, 178, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.05);
}

.thv-service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.thv-service-detail-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--thv-line);
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.thv-service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 79, 138, 0.2);
  box-shadow: 0 18px 34px rgba(23, 35, 55, 0.1);
}

.thv-service-detail-card span {
  display: inline-block;
  background: var(--thv-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 800;
  margin-bottom: 15px;
}

.thv-service-detail-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.thv-service-detail-card p {
  margin: 0;
  color: var(--thv-muted);
  font-size: 14px;
  line-height: 1.75;
}

.thv-collapsible {
  overflow: hidden;
  border: 1px solid var(--thv-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 35, 55, 0.05);
}

.thv-collapsible-header {
  position: relative;
  padding: 22px 24px;
}

.thv-collapsible-header .thv-title {
  margin-bottom: 0;
}

.thv-toggle-btn {
  margin-top: 14px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(11, 79, 138, 0.18);
  border-radius: 999px;
  background: var(--thv-sky);
  color: var(--thv-blue-dark);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.thv-toggle-btn:hover,
.thv-toggle-btn:focus {
  background: #d9efff;
  transform: translateY(-1px);
}

.thv-collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.thv-collapsible.is-open .thv-collapsible-content {
  border-top: 1px solid var(--thv-line);
}

.thv-service-editor-content {
  padding: 22px 24px;
  background: #fff;
  line-height: 1.8;
}

.thv-service-editor-content p,
.thv-service-editor-content li {
  font-size: 15px;
  line-height: 1.8;
}

.thv-service-editor-content h2,
.thv-service-editor-content h3 {
  line-height: 1.35;
  margin-top: 20px;
  margin-bottom: 10px;
}

.thv-service-editor-content h2:first-child,
.thv-service-editor-content h3:first-child {
  margin-top: 0;
}

.thv-service-editor-content>*:first-child {
  margin-top: 0;
}

.thv-service-editor-content>*:last-child {
  margin-bottom: 0;
}

.thv-service-editor-content .thv-section {
  padding: 0;
}

.thv-service-editor-content .thv-wrap {
  width: 100%;
}

.thv-service-editor-content .thv-title.small {
  font-size: clamp(24px, 2.4vw, 32px);
}

.thv-service-process-section {
  padding: 34px 20px 42px !important;
}

.thv-process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.thv-process-step {
  position: relative;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--thv-line);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(23, 35, 55, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.thv-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 79, 138, 0.18);
  box-shadow: 0 18px 34px rgba(23, 35, 55, 0.1);
}

.thv-process-number {
  font-size: 34px;
  font-weight: 900;
  color: var(--thv-blue);
  opacity: 0.18;
  margin-bottom: 8px;
}

.thv-process-step h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--thv-blue-dark);
}

.thv-process-step p {
  margin: 0;
  color: var(--thv-muted);
  font-size: 14px;
  line-height: 1.75;
}

.thv-section-heading.center {
  text-align: center;
}

.thv-section-heading.center .thv-title,
.thv-section-heading.center .thv-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {

  .thv-service-hero-grid,
  .thv-service-overview,
  .thv-service-detail-grid,
  .thv-process-timeline,
  .thv-contact-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thv-service-hero.compact,
  .thv-service-overview-section,
  .thv-service-process-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 560px) {
  .thv-service-hero.compact {
    padding: 34px 16px 30px;
  }

  .thv-service-overview-section,
  .thv-service-process-section {
    padding-top: 34px !important;
    padding-bottom: 38px !important;
  }

  .thv-service-detail-card,
  .thv-process-step,
  .thv-service-editor-content,
  .thv-service-highlights {
    padding: 18px;
  }

  .thv-back-link {
    font-size: 12px;
    padding: 9px 12px;
  }

  .thv-service-detail-card h3,
  .thv-process-step h3 {
    font-size: 18px;
  }
}

/* Single Project Page Styles */
.thv-project-content-area {
  background: var(--thv-white);
}

.thv-project-breadcrumb-wrap {
  padding: 24px 0;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.thv-back-link-simple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--thv-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}

.thv-back-link-simple:hover {
  color: var(--thv-blue-dark);
  text-decoration: none;
}

.thv-project-featured-wrap {
  padding: 40px 0;
  background: #ffffff;
}

.thv-project-featured-image {
  margin: 0 auto;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(23, 35, 55, 0.08);
}

.thv-project-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.thv-project-editor-content {
  padding: 30px 0;
  background: #ffffff;
}

/* Content sections (Kadence Blocks) */
.thv-project-editor-content .wp-block-kadence-rowlayout,
.thv-project-editor-content .kb-row-layout-wrap,
.thv-project-editor-content section {
  padding: 40px 0;
}

.thv-project-editor-content>.wp-block-kadence-rowlayout:first-child,
.thv-project-editor-content>.kb-row-layout-wrap:first-child,
.thv-project-editor-content>section:first-child {
  padding-top: 0;
}

.thv-project-editor-content>.wp-block-kadence-rowlayout:last-child,
.thv-project-editor-content>.kb-row-layout-wrap:last-child,
.thv-project-editor-content>section:last-child {
  /* padding-bottom: 0; */
}

/* Section headings */
.thv-project-editor-content h2,
.thv-project-editor-content .wp-block-heading {
  padding: 24px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.thv-project-editor-content h2:first-child,
.thv-project-editor-content .wp-block-heading:first-child {
  padding-top: 0;
}

.thv-project-related-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

/* CTA section (contact form) */
.thv-project-cta-section {
  padding: 60px 0;
}

.thv-project-related-section .thv-archive-grid {
  margin-top: 28px;
}

/* Hide default Kadence entry title and wrapper on single project */
.single-thv_project .entry-title {
  display: none !important;
}

.single-thv_project .entry-hero {
  display: none !important;
}

/* Ensure Kadence Blocks full-width sections work properly */
.single-thv_project .content-bg,
.single-thv_project .entry-content-wrap {
  padding: 0 !important;
  margin: 0 !important;
}

.single-thv_project .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 782px) {
  .thv-project-breadcrumb-wrap {
    padding: 16px 20px;
  }

  .thv-back-link-simple {
    font-size: 16px;
  }

  .thv-project-featured-wrap {
    padding: 24px 20px;
  }

  .thv-project-featured-image {
    max-width: 100%;
  }

  .thv-project-editor-content,
  .thv-project-cta-section,
  .thv-project-related-section {
    padding: 40px 20px;
  }

  .thv-project-editor-content .wp-block-kadence-rowlayout,
  .thv-project-editor-content .kb-row-layout-wrap,
  .thv-project-editor-content section {
    padding: 32px 0;
  }

  .thv-project-editor-content h2,
  .thv-project-editor-content .wp-block-heading {
    padding: 32px 0 20px;
  }
}

/* Social Share Icons Spacing */
.sfsi_Sicons.sfsi_Sicons_position_left {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Hero Section Optimization */
.thv-hero-section {
  padding: 80px 20px;
  background: var(--thv-white);
}

.thv-hero-kicker {
  font-size: 14px;
  font-weight: 700;
  color: var(--thv-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.thv-hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--thv-blue-dark);
  margin-bottom: 20px;
}

.thv-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--thv-ink);
  max-width: 560px;
  margin-bottom: 32px;
}

.thv-hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.thv-hero-cta-group .thv-button {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.thv-hero-cta-group .thv-button:hover {
  transform: translateY(-2px);
}

.thv-hero-cta-group .thv-button.primary {
  background: var(--thv-red);
  color: white;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
}

.thv-hero-cta-group .thv-button.secondary {
  background: transparent;
  color: var(--thv-blue);
  border: 2px solid var(--thv-blue);
}

.thv-hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--thv-muted);
}

.thv-hero-trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thv-hero-trust-badges li::before {
  content: "✓";
  color: var(--thv-blue);
  font-weight: 900;
  font-size: 16px;
}

.thv-hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 35, 55, 0.15);
}

.thv-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Mobile Optimization */
@media (max-width: 768px) {
  .thv-hero-section {
    padding: 40px 20px;
  }

  .thv-hero-kicker {
    font-size: 16px;
  }

  .thv-hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .thv-hero-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .thv-hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .thv-hero-cta-group .thv-button {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  .thv-hero-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 16px;
  }

  .thv-hero-image {
    margin-top: 32px;
    max-height: 280px;
  }

  .thv-hero-image img {
    object-fit: cover;
    height: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .thv-hero-section {
    padding: 60px 20px;
  }

  .thv-hero-title {
    font-size: 38px;
  }
}


/* Contact page hero actions - robust horizontal layout */
.thv-contact-hero-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 30px auto 0 !important;
  text-align: center !important;
}

.thv-contact-hero-actions .thv-contact-hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 260px !important;
  max-width: 100% !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.thv-contact-hero-btn--phone {
  background: #ef4444 !important;
  box-shadow: 0 8px 22px rgba(239, 68, 68, .25) !important;
}

.thv-contact-hero-btn--zalo {
  background: #00a550 !important;
  box-shadow: 0 8px 22px rgba(0, 165, 80, .25) !important;
}

.thv-contact-hero-actions .thv-contact-hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(.96);
}

@media (max-width: 640px) {
  .thv-contact-hero-actions {
    flex-direction: column !important;
  }

  .thv-contact-hero-actions .thv-contact-hero-btn {
    width: 100% !important;
    white-space: normal !important;
  }
}



/* section in homepage */
.thv-section-why-choose .wp-block-column,
.thv-section-process .wp-block-column {
  padding: 10px;
  box-sizing: border-box;
}

@media (max-width: 768px) {

  .thv-section-why-choose .wp-block-column,
  .thv-section-process .wp-block-column {
    padding: 10px 20px;
  }
}

/* ============================================
   Blog Post UI/UX Optimization
   Added: 2026-05-19
   Optimized: 2026-05-19 12:40
   ============================================ */

/* 1. Featured Image */
/* .single-post .post-thumbnail,
.single-post .entry-hero-container-inner {
  padding-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 35, 55, 0.12);
  margin-bottom: 40px;
}

.single-post .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
} */

.single-post .content-area {
  padding-top: 20px !important;
}

/* 3. Heading Hierarchy */
.single-post .entry-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--thv-blue-dark);
}

.single-post .entry-content h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--thv-blue);
}

.single-post .entry-content h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 28px;
  margin-bottom: 12px;
}

/* 4. Paragraph & Text */
.single-post .entry-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--thv-ink);
}

/* 5. Lists */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-bottom: 28px;
  padding-left: 28px;
}

.single-post .entry-content li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.single-post .entry-content ul li::marker {
  color: var(--thv-blue);
  font-size: 1.2em;
}

/* 6. Post Meta */
.single-post .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--thv-muted);
  margin-bottom: 24px;
}

.single-post .entry-meta a {
  color: var(--thv-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.single-post .entry-meta a:hover {
  color: var(--thv-red);
}

/* 7. Blockquotes */
.single-post .entry-content blockquote {
  border-left: 4px solid var(--thv-blue);
  padding: 20px 24px;
  margin: 32px 0;
  background: var(--thv-bg);
  border-radius: 8px;
  font-style: italic;
  color: var(--thv-ink);
}

.single-post .entry-content blockquote p {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.6;
}

/* 8. Tables */
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
  overflow-x: auto;
  display: block;
}

.single-post .entry-content table thead {
  background: var(--thv-blue);
  color: white;
}

.single-post .entry-content table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.single-post .entry-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--thv-border);
}

.single-post .entry-content table tbody tr:hover {
  background: var(--thv-bg);
}

/* 9. Images in Content */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 28px 0;
}

.single-post .entry-content figure {
  margin: 32px 0;
}

.single-post .entry-content figcaption {
  font-size: 14px;
  color: var(--thv-muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* 10. Code Blocks */
.single-post .entry-content code {
  background: var(--thv-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--thv-red);
}

.single-post .entry-content pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 28px 0;
}

.single-post .entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* 11. CTA Box */
.thv-cta-box {
  background: linear-gradient(135deg, var(--thv-blue) 0%, var(--thv-blue-dark) 100%);
  color: white;
  padding: 32px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 12px 32px rgba(11, 79, 138, 0.25);
}

.thv-cta-box h3 {
  color: white !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 24px;
}

.thv-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 16px;
}

.thv-cta-box .thv-button {
  background: var(--thv-red);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  transition: all 0.2s;
}

.thv-cta-box .thv-button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

/* 12. Related Posts */
.thv-related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--thv-border);
}

.thv-related-posts h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--thv-blue-dark);
}

.thv-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thv-related-post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.thv-related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.thv-related-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.thv-related-post-card-content {
  padding: 20px;
}

.thv-related-post-card h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px 0;
  color: var(--thv-ink);
}

.thv-related-post-card .meta {
  font-size: 14px;
  color: var(--thv-muted);
}

/* 13. Mobile Optimization */
@media (max-width: 768px) {

  /* Featured Image Mobile */
  .single-post .post-thumbnail,
  .single-post .entry-hero-container-inner {
    padding-top: 24px;
    border-radius: 8px;
    margin-bottom: 28px;
  }

  /* Typography Mobile */
  .single-post .entry-content h2 {
    font-size: 26px;
    margin-top: 36px;
  }

  .single-post .entry-content h3 {
    font-size: 22px;
    margin-top: 28px;
  }

  .single-post .entry-content p,
  .single-post .entry-content li {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* Blockquotes Mobile */
  .single-post .entry-content blockquote {
    padding: 16px 20px;
    margin: 24px 0;
  }

  .single-post .entry-content blockquote p {
    font-size: 18px;
  }

  /* Tables Mobile */
  .single-post .entry-content table {
    font-size: 14px;
  }

  .single-post .entry-content table th,
  .single-post .entry-content table td {
    padding: 10px 12px;
  }

  /* CTA Box Mobile */
  .thv-cta-box {
    padding: 24px 20px;
    margin: 32px 0;
  }

  .thv-cta-box h3 {
    font-size: 20px;
  }

  /* Related Posts Mobile */
  .thv-related-posts {
    margin-top: 48px;
    padding-top: 32px;
  }

  .thv-related-posts h3 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .thv-related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .thv-related-post-card img {
    height: 180px;
  }
}

/* ============================================
   Submenu/Dropdown Styling - Optimized
   Added: 2026-05-19 12:54
   Optimized: 2026-05-19 13:02
   ============================================ */

/* Parent menu item */
.primary-navigation .primary-menu-container ul.menu>li,
.header-navigation .header-menu-container ul.menu>li {
  position: relative;
}

/* Submenu dropdown container */
.primary-navigation .primary-menu-container ul.menu>li>ul.sub-menu,
.primary-navigation .primary-menu-container ul.menu>li>ul.submenu,
.header-navigation .header-menu-container ul.menu>li>ul.sub-menu,
.header-navigation .header-menu-container ul.menu>li>ul.submenu {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
  margin-top: 0 !important;
  min-width: 330px !important;
  width: auto !important;
}

/* Keep submenu visible on hover */
.primary-navigation .primary-menu-container ul.menu>li:hover>ul.sub-menu,
.primary-navigation .primary-menu-container ul.menu>li:hover>ul.submenu,
.header-navigation .header-menu-container ul.menu>li:hover>ul.sub-menu,
.header-navigation .header-menu-container ul.menu>li:hover>ul.submenu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Submenu list items */
.primary-navigation .primary-menu-container ul.menu>li>ul.sub-menu>li,
.primary-navigation .primary-menu-container ul.menu>li>ul.submenu>li,
.header-navigation .header-menu-container ul.menu>li>ul.sub-menu>li,
.header-navigation .header-menu-container ul.menu>li>ul.submenu>li {
  width: 100% !important;
  display: block !important;
}

/* Submenu links */
.primary-navigation .primary-menu-container ul.menu>li>ul.sub-menu>li>a,
.primary-navigation .primary-menu-container ul.menu>li>ul.submenu>li>a,
.header-navigation .header-menu-container ul.menu>li>ul.sub-menu>li>a,
.header-navigation .header-menu-container ul.menu>li>ul.submenu>li>a {
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  color: var(--thv-ink) !important;
  padding: 12px 32px 12px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  display: block !important;
}

/* Submenu links hover */
.primary-navigation .primary-menu-container ul.menu>li>ul.sub-menu>li>a:hover,
.primary-navigation .primary-menu-container ul.menu>li>ul.submenu>li>a:hover,
.header-navigation .header-menu-container ul.menu>li>ul.sub-menu>li>a:hover,
.header-navigation .header-menu-container ul.menu>li>ul.submenu>li>a:hover {
  background: var(--thv-bg) !important;
  color: var(--thv-blue) !important;
  padding-left: 28px !important;
}

/* Submenu active item */
.primary-navigation .primary-menu-container ul.menu>li>ul.sub-menu>li.current-menu-item>a,
.primary-navigation .primary-menu-container ul.menu>li>ul.submenu>li.current-menu-item>a,
.header-navigation .header-menu-container ul.menu>li>ul.sub-menu>li.current-menu-item>a,
.header-navigation .header-menu-container ul.menu>li>ul.submenu>li.current-menu-item>a {
  background: var(--thv-bg) !important;
  color: var(--thv-blue) !important;
}

/* Mobile submenu */
@media (max-width: 1024px) {

  .mobile-navigation ul.menu li ul.sub-menu,
  .mobile-navigation ul.menu li ul.submenu {
    background: rgba(255, 255, 255, 0.05) !important;
    padding-left: 16px !important;
    margin-top: 8px !important;
  }

  .mobile-navigation ul.menu li ul.sub-menu li a,
  .mobile-navigation ul.menu li ul.submenu li a {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  .mobile-navigation ul.menu li ul.sub-menu li a:hover,
  .mobile-navigation ul.menu li ul.submenu li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
}





/* ============================================
   Contact Form Styling - Optimized
   Added: 2026-05-19 13:09
   Optimized: 2026-05-19 13:14
   ============================================ */

/* Contact form section */
#bao-gia.wp-block-group.alignfull,
.wp-block-group.alignfull:has(#bao-gia) {
  padding: 60px 20px !important;
}

/* Form container width */
#bao-gia .wp-block-group,
#bao-gia form {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.wp-block-group:has(#bao-gia)>* {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Form styling */
#bao-gia form,
#bao-gia .fluentform,
#bao-gia .ff-el-form-control {
  padding: 40px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Form fields spacing */
#bao-gia .ff-el-group,
#bao-gia .fluentform .ff-el-group {
  margin-bottom: 24px !important;
}

/* Form inputs */
#bao-gia input[type="text"],
#bao-gia input[type="email"],
#bao-gia input[type="tel"],
#bao-gia textarea,
#bao-gia select {
  padding: 14px 16px !important;
  border-radius: 8px !important;
}

/* Submit button */
#bao-gia .ff-btn-submit,
#bao-gia button[type="submit"] {
  margin-top: 16px !important;
  padding: 16px 40px !important;
}

/* Mobile */
@media (max-width: 768px) {

  #bao-gia.wp-block-group.alignfull,
  .wp-block-group.alignfull:has(#bao-gia) {
    padding: 40px 20px !important;
  }

  #bao-gia form,
  #bao-gia .fluentform,
  #bao-gia .ff-el-form-control {
    padding: 24px 20px !important;
  }

  #bao-gia .ff-el-group,
  #bao-gia .fluentform .ff-el-group {
    margin-bottom: 20px !important;
  }
}

/* ============================================
   Service Page Sections Padding - Optimized
   Added: 2026-05-19 13:11
   Optimized: 2026-05-19 13:17
   ============================================ */

.thv-service-overview,
.thv-service-detail-section,
.thv-service-quote-section,
.thv-why-section {
  padding: 20px 20px;
}

/* Listing section padding */
.thv-listing-section {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* ============================================
   Pricing Page Styling
   Added: 2026-05-19 14:24
   ============================================ */

/* Pricing page container */
.page-template-default .entry-content,
body.page-id-241 .entry-content {
  max-width: 100%;
}

/* Pricing table wrapper */
.thv-pricing-table {
  margin: 40px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table base styling */
.thv-pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
}

/* Table header */
.thv-pricing-table thead {
  background: linear-gradient(135deg, #0b4f8a 0%, #0d5fa3 100%);
  color: #ffffff;
}

.thv-pricing-table thead th {
  padding: 16px 12px;
  font-weight: 700;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #0a4577;
}

/* Table body */
.thv-pricing-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.thv-pricing-table tbody tr:hover {
  background-color: #f8fafc;
}

.thv-pricing-table tbody tr:last-child {
  border-bottom: none;
}

.thv-pricing-table tbody td {
  padding: 14px 12px;
  vertical-align: top;
  color: #374151;
}

/* First column (STT) */
.thv-pricing-table tbody td:first-child {
  font-weight: 600;
  color: #0b4f8a;
  text-align: center;
  width: 60px;
}

/* Price column styling */
.thv-pricing-table tbody td:nth-child(5) {
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
}

/* Note column */
.thv-pricing-table tbody td:last-child {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

/* Striped rows */
.thv-pricing-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.thv-pricing-table tbody tr:nth-child(even):hover {
  background-color: #f1f5f9;
}

/* Section headers in table */
.thv-pricing-table tbody tr td[colspan] {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  font-weight: 700;
  font-size: 16px;
  color: #0b4f8a;
  padding: 16px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 2px solid #0b4f8a;
  border-bottom: 2px solid #0b4f8a;
}

/* Pricing page headings */
body.page-id-241 h1,
body.page-id-241 .entry-content h1 {
  color: #0b4f8a;
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

body.page-id-241 h2,
body.page-id-241 .entry-content h2 {
  color: #0b4f8a;
  font-size: 28px;
  font-weight: 800;
  margin-top: 60px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #0b4f8a;
  position: relative;
}

body.page-id-241 h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: #dc2626;
}

/* Intro text styling */
body.page-id-241 .entry-content>p:first-of-type,
body.page-id-241 .entry-content>p em {
  text-align: center;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.8;
}

body.page-id-241 .entry-content>p strong {
  color: #0b4f8a;
}

/* Contact info styling */
body.page-id-241 .entry-content p:has(a[href^="tel"]),
body.page-id-241 .entry-content p:has(a[href^="mailto"]) {
  text-align: center;
  font-size: 18px;
  margin: 24px 0;
}

body.page-id-241 .entry-content a[href^="tel"],
body.page-id-241 .entry-content a[href^="mailto"] {
  color: #dc2626;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.page-id-241 .entry-content a[href^="tel"]:hover,
body.page-id-241 .entry-content a[href^="mailto"]:hover {
  color: #b91c1c;
}

/* Separator styling */
body.page-id-241 hr,
body.page-id-241 .wp-block-separator {
  margin: 40px auto;
  max-width: 200px;
  border: none;
  border-top: 2px solid #e5e7eb;
}

/* CTA Buttons */
body.page-id-241 .wp-block-buttons {
  margin: 60px 0;
  justify-content: center;
}

body.page-id-241 .wp-block-button__link {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

body.page-id-241 .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {

  /* Pricing table mobile */
  .thv-pricing-table {
    margin: 24px -20px;
    border-radius: 0;
  }

  .thv-pricing-table table {
    font-size: 16px;
    border-radius: 0;
  }

  .thv-pricing-table thead th {
    padding: 12px 8px;
    font-size: 12px;
  }

  .thv-pricing-table tbody td {
    padding: 10px 8px;
    font-size: 16px;
  }

  /* Hide less important columns on mobile */
  .thv-pricing-table tbody td:nth-child(3),
  .thv-pricing-table tbody td:nth-child(4),
  .thv-pricing-table thead th:nth-child(3),
  .thv-pricing-table thead th:nth-child(4) {
    display: none;
  }

  /* Adjust remaining columns */
  .thv-pricing-table tbody td:first-child {
    width: 40px;
    font-size: 12px;
  }

  .thv-pricing-table tbody td:nth-child(2) {
    font-size: 16px;
    line-height: 1.4;
  }

  .thv-pricing-table tbody td:nth-child(5) {
    font-size: 14px;
    white-space: normal;
  }

  /* Mobile headings */
  body.page-id-241 h1,
  body.page-id-241 .entry-content h1 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  body.page-id-241 h2,
  body.page-id-241 .entry-content h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  /* Mobile intro text */
  body.page-id-241 .entry-content>p:first-of-type,
  body.page-id-241 .entry-content>p em {
    font-size: 14px;
    padding: 0 20px;
  }

  /* Mobile contact info */
  body.page-id-241 .entry-content p:has(a[href^="tel"]),
  body.page-id-241 .entry-content p:has(a[href^="mailto"]) {
    font-size: 15px;
    padding: 0 20px;
  }

  /* Mobile CTA buttons */
  body.page-id-241 .wp-block-buttons {
    flex-direction: column;
    margin: 40px 20px;
  }

  body.page-id-241 .wp-block-button {
    width: 100%;
    margin: 8px 0;
  }

  body.page-id-241 .wp-block-button__link {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    text-align: center;
  }

  /* Mobile separator */
  body.page-id-241 hr,
  body.page-id-241 .wp-block-separator {
    margin: 24px auto;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .thv-pricing-table table {
    font-size: 14px;
  }

  .thv-pricing-table thead th {
    padding: 14px 10px;
    font-size: 16px;
  }

  .thv-pricing-table tbody td {
    padding: 12px 10px;
  }

  body.page-id-241 h1,
  body.page-id-241 .entry-content h1 {
    font-size: 36px;
  }

  body.page-id-241 h2,
  body.page-id-241 .entry-content h2 {
    font-size: 24px;
  }
}

/* Print styles */
@media print {
  .thv-pricing-table table {
    box-shadow: none;
    border: 1px solid #000;
  }

  .thv-pricing-table thead {
    background: #000 !important;
    color: #fff !important;
  }

  body.page-id-241 .wp-block-buttons,
  body.page-id-241 .entry-content a[href^="tel"],
  body.page-id-241 .entry-content a[href^="mailto"] {
    display: none;
  }
}

/* ============================================
   Company Info Shortcode Styling
   Added: 2026-05-19 14:49
   ============================================ */

/* Company info container */
.thv-company-info {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}

/* Header */
.thv-company-info__header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.thv-company-info__title {
  color: #0b4f8a;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.thv-company-info__subtitle {
  color: #6b7280;
  font-size: 16px;
  margin: 0;
  font-style: italic;
}

/* Body */
.thv-company-info__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

/* Section */
.thv-company-info__section {
  background: #f9fafb;
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #0b4f8a;
}

.thv-company-info__section-title {
  color: #0b4f8a;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.thv-company-info__section-title .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* List */
.thv-company-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thv-company-info__list li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1.6;
  color: #374151;
}

.thv-company-info__list li:last-child {
  border-bottom: none;
}

.thv-company-info__list strong {
  color: #0b4f8a;
  font-weight: 600;
}

/* Links */
.thv-company-info__phone,
.thv-company-info__email {
  color: #dc2626;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.thv-company-info__phone:hover,
.thv-company-info__email:hover {
  color: #b91c1c;
  text-decoration: underline;
}

/* Footer buttons */
.thv-company-info__footer {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding-top: 24px;
  border-top: 2px solid #e5e7eb;
  color: #ffffff;
}

.thv-company-info__footer .thv-button {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  color: #ffffff !important;
}

.thv-company-info__footer .thv-button--primary {
  background: #dc2626;
  color: white !important;
}

.thv-company-info__footer .thv-button--primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.thv-company-info__footer .thv-button--secondary {
  background: #0b4f8a;
  color: white;
}

.thv-company-info__footer .thv-button--secondary:hover {
  background: #073a66;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11, 79, 138, 0.3);
}

/* Compact style */
.thv-company-info--compact {
  padding: 24px;
}

.thv-company-info--compact .thv-company-info__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.thv-company-info--compact .thv-company-info__title {
  font-size: 24px;
}

.thv-company-info--compact .thv-company-info__subtitle {
  font-size: 14px;
}

.thv-company-info--compact .thv-company-info__body {
  gap: 20px;
  margin-bottom: 20px;
}

.thv-company-info--compact .thv-company-info__section {
  padding: 16px;
}

.thv-company-info--compact .thv-company-info__footer {
  padding-top: 16px;
}

/* Card style */
.thv-company-info--card {
  background: linear-gradient(135deg, #0b4f8a 0%, #0d5fa3 100%);
  color: white;
}

.thv-company-info--card .thv-company-info__title,
.thv-company-info--card .thv-company-info__section-title {
  color: white;
}

.thv-company-info--card .thv-company-info__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.thv-company-info--card .thv-company-info__section {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: white;
}

.thv-company-info--card .thv-company-info__list li {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.thv-company-info--card .thv-company-info__list strong {
  color: white;
}

.thv-company-info--card .thv-company-info__phone,
.thv-company-info--card .thv-company-info__email {
  color: #fbbf24;
}

.thv-company-info--card .thv-company-info__phone:hover,
.thv-company-info--card .thv-company-info__email:hover {
  color: #f59e0b;
}

.thv-company-info--card .thv-company-info__header,
.thv-company-info--card .thv-company-info__footer {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .thv-company-info {
    padding: 24px 20px;
    margin: 24px 0;
  }

  .thv-company-info__header {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .thv-company-info__title {
    font-size: 24px;
  }

  .thv-company-info__subtitle {
    font-size: 14px;
  }

  .thv-company-info__body {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .thv-company-info__section {
    padding: 16px;
  }

  .thv-company-info__section-title {
    font-size: 16px;
  }

  .thv-company-info__list li {
    font-size: 14px;
    padding: 8px 0;
  }

  .thv-company-info__footer {
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
  }

  .thv-company-info__footer .thv-button {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .thv-company-info {
    padding: 32px;
  }

  .thv-company-info__title {
    font-size: 28px;
  }

  .thv-company-info__body {
    gap: 24px;
  }
}

/* ============================================
   Contact Simple Shortcode
   Added: 2026-05-19 18:41
   Simple contact info for blog posts
   ============================================ */

.thv-contact-simple {
  background: #f9fafb;
  border-left: 4px solid #0b4f8a;
  padding: 24px;
  margin: 32px 0;
  border-radius: 8px;
}

.thv-contact-simple h3 {
  color: #0b4f8a;
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 16px 0 !important;
  ;
}

.thv-contact-simple p {
  margin: 12px 0;
  line-height: 1.8;
  color: #374151;
}

.thv-contact-simple p:first-of-type {
  font-weight: 600;
  color: #0b4f8a;
  margin-top: 0;
}

.thv-contact-simple strong {
  color: #1f2937;
  font-weight: 600;
}

.thv-contact-simple a {
  color: #0b4f8a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.thv-contact-simple a:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .thv-contact-simple {
    padding: 20px;
    margin: 24px 0;
  }

  .thv-contact-simple h3 {
    font-size: 18px;
  }
}