:root {
  --dsy-sage: #5a7d6c;
  --dsy-sage-dark: #2d4a42;
  --dsy-sage-light: #8faf9e;
  --dsy-cream: #faf7f2;
  --dsy-sand: #ebe3d6;
  --dsy-gold: #b8956a;
  --dsy-text: #2a3330;
  --dsy-muted: #5c6662;
  --dsy-radius: 16px;
  --dsy-shadow: 0 12px 40px rgba(45, 74, 66, 0.12);
  --dsy-font-display: "Cormorant Garamond", "Times New Roman", serif;
  --dsy-font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--dsy-font-body) !important;
  color: var(--dsy-text);
  background-color: var(--dsy-cream) !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.wp-block-post-title,
.hostinger-ai-title .elementor-heading-title,
.elementor-heading-title {
  font-family: var(--dsy-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  color: var(--dsy-sage-dark);
}

.wp-block-site-title a,
.hostinger-ai-site-title a {
  font-family: var(--dsy-font-display) !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  color: var(--dsy-sage-dark) !important;
  text-decoration: none !important;
}

.hostinger-ai-site-header,
header.wp-block-template-part,
.wp-block-group.hostinger-ai-site-navigation-wrapper {
  background: rgba(250, 247, 242, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(45, 74, 66, 0.06);
}

.wp-block-navigation-item__content,
.hostinger-ai-site-navigation a {
  font-weight: 500 !important;
  color: var(--dsy-sage-dark) !important;
  transition: color 0.2s ease;
}

.wp-block-navigation-item__content:hover,
.hostinger-ai-site-navigation a:hover {
  color: var(--dsy-sage) !important;
}

body.home .hostinger-ai-background-image.e-con {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
}

body.home .hostinger-ai-background-image.e-con::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(29, 48, 42, 0.78) 0%,
    rgba(45, 74, 66, 0.55) 45%,
    rgba(90, 125, 108, 0.35) 100%
  );
  z-index: 0;
  pointer-events: none;
}

body.home .hostinger-ai-background-image .e-con-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

body.home .hostinger-ai-title .elementor-heading-title,
body.home .hostinger-ai-title h1 {
  color: #fff !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  line-height: 1.15 !important;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.28);
  margin-bottom: 0.75rem !important;
}

body.home .hostinger-ai-subtitle,
body.home .hostinger-ai-hero-text,
body.home .elementor-widget-text-editor:not(.hostinger-ai-service-description) p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.125rem !important;
  line-height: 1.65 !important;
  max-width: 36rem;
}

.elementor-button,
.wp-block-button__link,
a[href*="zalo.me"] {
  border-radius: 999px !important;
  font-family: var(--dsy-font-body) !important;
  font-weight: 600 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

body.home .elementor-button,
body.home a.elementor-button,
body.home .wp-block-button__link {
  background: linear-gradient(135deg, var(--dsy-gold) 0%, #a67c52 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 28px rgba(184, 149, 106, 0.45) !important;
  padding: 0.85rem 1.75rem !important;
}

body.home .elementor-button:hover,
body.home a.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(184, 149, 106, 0.55) !important;
  color: #fff !important;
}

body.home .elementor-element-42be978 .e-con-child,
body.home [data-id="42be978"] .e-con-child {
  background: #fff !important;
  border-radius: var(--dsy-radius) !important;
  box-shadow: var(--dsy-shadow) !important;
  border: 1px solid rgba(90, 125, 108, 0.12) !important;
  padding: 1.75rem 1.5rem 2rem !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.home .elementor-element-42be978 .e-con-child:hover,
body.home [data-id="42be978"] .e-con-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(45, 74, 66, 0.14) !important;
}

.hostinger-ai-service-title .elementor-heading-title {
  font-size: 1.65rem !important;
  color: var(--dsy-sage-dark) !important;
}

.hostinger-ai-service-description {
  color: var(--dsy-muted) !important;
  line-height: 1.6 !important;
}

body.home .e-con.e-parent:not(.hostinger-ai-background-image) {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

body.home .elementor-section h2.elementor-heading-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem) !important;
  margin-bottom: 1rem !important;
}

body.home .elementor-widget-image img,
.wp-block-post-featured-image img {
  border-radius: var(--dsy-radius);
}

.single-post .entry-content,
.single-post .wp-block-post-content,
.page .entry-content {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--dsy-text);
}

.single-post .entry-content h2,
.single-post .wp-block-post-content h2 {
  margin-top: 2rem;
  font-size: 1.75rem;
  color: var(--dsy-sage-dark);
}

.single-post .entry-content h3,
.single-post .wp-block-post-content h3 {
  margin-top: 1.5rem;
  font-size: 1.35rem;
}

.single-post .wp-block-post-title {
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  line-height: 1.2 !important;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.single-post .wp-block-post-featured-image {
  max-width: 56rem;
  margin: 1.5rem auto 2rem;
  overflow: hidden;
  border-radius: calc(var(--dsy-radius) + 4px);
  box-shadow: var(--dsy-shadow);
}

.single-post .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dsy-toc {
  background: var(--dsy-sand);
  border-radius: var(--dsy-radius);
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 42rem;
  border-left: 4px solid var(--dsy-sage);
}

.dsy-toc__title {
  font-family: var(--dsy-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--dsy-sage-dark);
}

.dsy-toc__list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.dsy-toc__list a {
  color: var(--dsy-sage-dark);
  text-decoration: none;
}

.dsy-toc__list a:hover {
  color: var(--dsy-sage);
  text-decoration: underline;
}

.dsy-toc__sub {
  margin-top: 0.35rem;
  list-style: circle;
}

.dsy-related {
  max-width: 56rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(90, 125, 108, 0.2);
}

.dsy-related__title {
  font-family: var(--dsy-font-display);
  font-size: 1.75rem;
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--dsy-sage-dark);
}

.dsy-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .dsy-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dsy-related__grid {
    grid-template-columns: 1fr;
  }
}

.dsy-related__card {
  background: #fff;
  border-radius: var(--dsy-radius);
  border: 1px solid rgba(90, 125, 108, 0.12);
  box-shadow: 0 4px 20px rgba(45, 74, 66, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dsy-related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dsy-shadow);
}

.dsy-related__link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}

.dsy-related__thumb img,
.dsy-related__thumb-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.dsy-related__thumb-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--dsy-sand), var(--dsy-sage-light));
  opacity: 0.35;
}

.dsy-related__card-title {
  font-family: var(--dsy-font-display);
  font-size: 1.05rem !important;
  line-height: 1.35;
  margin: 0.75rem 1rem 0.35rem;
  color: var(--dsy-sage-dark) !important;
}

.dsy-related__date {
  display: block;
  font-size: 0.8125rem;
  color: var(--dsy-muted);
  padding: 0 1rem 1rem;
}

.blog .wp-block-query,
.archive .wp-block-query,
.page-id-86 .wp-block-query {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

body.blog ul.wp-block-post-template,
body.home.blog ul.wp-block-post-template,
body.page-id-86 ul.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.blog ul.wp-block-post-template > li,
body.page-id-86 ul.wp-block-post-template > li {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 960px) {
  body.blog ul.wp-block-post-template,
  body.page-id-86 ul.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.blog ul.wp-block-post-template,
  body.page-id-86 ul.wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

.wp-block-post-template .wp-block-post-featured-image {
  margin: 0 0 0.75rem;
  overflow: hidden;
  border-radius: var(--dsy-radius) var(--dsy-radius) 0 0;
}

.wp-block-post-template .wp-block-post-featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.wp-block-post-template .wp-block-post-title {
  font-size: 1.15rem !important;
  line-height: 1.35;
  padding: 0 1rem;
}

.wp-block-post-template .wp-block-post-excerpt,
.wp-block-post-template .wp-block-post-date,
.wp-block-post-template .wp-block-post-author {
  padding: 0 1rem;
}

.wp-block-post-template .wp-block-post-excerpt {
  color: var(--dsy-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  padding-bottom: 0.75rem;
}

.wp-block-post-template .wp-block-read-more {
  padding: 0 1rem 1.25rem;
}

.wp-block-post-template .wp-block-read-more a {
  color: var(--dsy-sage) !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.blog .wp-block-query-title,
body.page-id-86 .wp-block-query-title {
  font-family: var(--dsy-font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin: 2rem 0 1.5rem;
  color: var(--dsy-sage-dark);
}

.wp-block-post-template .wp-block-post {
  background: #fff;
  border-radius: var(--dsy-radius);
  box-shadow: 0 4px 24px rgba(45, 74, 66, 0.08);
  border: 1px solid rgba(90, 125, 108, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-post-template .wp-block-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--dsy-shadow);
}

.wp-block-post-template .wp-block-post-title a {
  color: var(--dsy-sage-dark) !important;
  text-decoration: none !important;
}

.wp-block-post-template .wp-block-post-title a:hover {
  color: var(--dsy-sage) !important;
}

footer.wp-block-template-part,
.hostinger-ai-site-footer {
  background: var(--dsy-sage-dark) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

footer.wp-block-template-part a,
.hostinger-ai-site-footer a {
  color: rgba(255, 255, 255, 0.95) !important;
}

.dsy-float-zalo {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-family: var(--dsy-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 104, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dsy-float-zalo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 104, 255, 0.55);
  color: #fff !important;
}

.dsy-float-zalo__icon {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .dsy-float-zalo__text {
    display: none;
  }
  .dsy-float-zalo {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
