/*
Theme Name: Dai Tin Land
Theme URI: https://daitinland.net/
Author: Dai Tin Land
Author URI: https://daitinland.net/
Description: WordPress theme for a Vietnamese real estate advisory, brokerage, project and market news website.
Version: 1.0.2
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daitinland
Tags: custom-logo, featured-images, threaded-comments, translation-ready, blog, real-estate
*/

:root {
  --dtl-navy: #102b43;
  --dtl-navy-2: #173d5f;
  --dtl-teal: #108480;
  --dtl-gold: #cd973c;
  --dtl-ink: #18222d;
  --dtl-muted: #5b6875;
  --dtl-line: #dde5eb;
  --dtl-bg: #f5f7f8;
  --dtl-white: #ffffff;
  --dtl-radius: 8px;
  --dtl-shadow: 0 14px 34px rgba(16, 43, 67, 0.12);
  --dtl-font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --dtl-content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dtl-ink);
  font-family: var(--dtl-font);
  font-size: 16px;
  line-height: 1.72;
  background: var(--dtl-bg);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--dtl-teal);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--dtl-gold);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--dtl-white);
  background: var(--dtl-navy);
  border-radius: 6px;
}

.dtl-container {
  width: min(100% - 32px, var(--dtl-content));
  margin-inline: auto;
}

.dtl-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 229, 235, 0.9);
  backdrop-filter: blur(12px);
}

.dtl-topbar {
  color: #dce8f0;
  background: var(--dtl-navy);
  font-size: 13px;
}

.dtl-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 20px;
}

.dtl-topbar__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.dtl-topbar a {
  color: #ffffff;
}

.dtl-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}

.dtl-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.dtl-logo img {
  width: 224px;
  max-width: 50vw;
}

.dtl-main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dtl-main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dtl-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--dtl-ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
}

.dtl-main-nav a:hover,
.dtl-main-nav .current-menu-item > a,
.dtl-main-nav .current_page_item > a {
  color: var(--dtl-teal);
  background: #edf8f7;
}

.dtl-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--dtl-navy);
  background: var(--dtl-white);
  border: 1px solid var(--dtl-line);
  border-radius: 6px;
  cursor: pointer;
}

.dtl-nav-toggle span,
.dtl-nav-toggle span::before,
.dtl-nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
}

.dtl-nav-toggle span::before {
  transform: translateY(-7px);
}

.dtl-nav-toggle span::after {
  transform: translateY(5px);
}

.dtl-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
  background: var(--dtl-teal);
  border: 1px solid var(--dtl-teal);
  border-radius: 7px;
  cursor: pointer;
}

.dtl-button:hover,
.dtl-button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  color: #ffffff;
  background: var(--dtl-navy);
  border-color: var(--dtl-navy);
}

.dtl-button--gold {
  color: var(--dtl-navy);
  background: var(--dtl-gold);
  border-color: var(--dtl-gold);
}

.dtl-button--ghost {
  color: var(--dtl-navy);
  background: transparent;
  border-color: rgba(16, 43, 67, 0.24);
}

.dtl-hero {
  position: relative;
  min-height: 620px;
  color: #ffffff;
  background: var(--dtl-navy);
  overflow: hidden;
}

.dtl-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.dtl-hero__slide.is-active {
  opacity: 1;
}

.dtl-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtl-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 50, 0.88), rgba(11, 31, 50, 0.52) 55%, rgba(11, 31, 50, 0.18)),
    linear-gradient(0deg, rgba(11, 31, 50, 0.42), rgba(11, 31, 50, 0.08));
}

.dtl-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 620px;
  padding: 84px 0 94px;
}

.dtl-hero__copy {
  max-width: 720px;
}

.dtl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--dtl-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dtl-eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.dtl-hero h1,
.dtl-page-title {
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
}

.dtl-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #edf4f7;
  font-size: 19px;
}

.dtl-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.dtl-hero__facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -72px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: var(--dtl-shadow);
}

.dtl-fact {
  padding: 24px;
  color: var(--dtl-ink);
  background: var(--dtl-white);
}

.dtl-fact strong {
  display: block;
  color: var(--dtl-navy);
  font-size: 28px;
  line-height: 1.1;
}

.dtl-fact span {
  display: block;
  margin-top: 8px;
  color: var(--dtl-muted);
  font-size: 14px;
}

.dtl-section {
  padding: 74px 0;
}

.dtl-section--white {
  background: var(--dtl-white);
}

.dtl-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.dtl-section-header h2 {
  max-width: 720px;
  margin: 0;
  color: var(--dtl-navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.dtl-section-header p {
  max-width: 470px;
  margin: 0;
  color: var(--dtl-muted);
}

.dtl-grid {
  display: grid;
  gap: 24px;
}

.dtl-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dtl-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dtl-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  background: var(--dtl-white);
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 43, 67, 0.07);
}

.dtl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dtl-shadow);
}

.dtl-card__image {
  aspect-ratio: 16 / 10;
  background: #dfe7ec;
  overflow: hidden;
}

.dtl-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtl-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px;
}

.dtl-card__body h3,
.dtl-card__title {
  margin: 0 0 10px;
  color: var(--dtl-navy);
  font-size: 21px;
  line-height: 1.25;
}

.dtl-card__body p {
  margin: 0;
  color: var(--dtl-muted);
}

.dtl-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--dtl-muted);
  font-size: 13px;
}

.dtl-card__link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--dtl-teal);
  font-weight: 800;
}

.dtl-feature-band {
  color: #ffffff;
  background: var(--dtl-navy);
}

.dtl-feature-band .dtl-section-header h2,
.dtl-feature-band .dtl-section-header p {
  color: #ffffff;
}

.dtl-process {
  counter-reset: process;
}

.dtl-process__item {
  position: relative;
  padding: 24px;
  background: #ffffff;
  border-left: 4px solid var(--dtl-gold);
  border-radius: var(--dtl-radius);
}

.dtl-process__item::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 800;
  background: var(--dtl-teal);
  border-radius: 50%;
  counter-increment: process;
  content: counter(process);
}

.dtl-page-hero {
  position: relative;
  color: #ffffff;
  background: var(--dtl-navy);
}

.dtl-page-hero__image {
  position: absolute;
  inset: 0;
}

.dtl-page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.dtl-page-hero__content {
  position: relative;
  z-index: 2;
  padding: 88px 0;
}

.dtl-breadcrumbs {
  margin-bottom: 14px;
  color: #dce8f0;
  font-size: 14px;
}

.dtl-breadcrumbs a {
  color: #ffffff;
}

.dtl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
  padding: 58px 0 76px;
}

.dtl-main {
  min-width: 0;
}

.dtl-entry {
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
  overflow: hidden;
}

.dtl-entry__inner {
  padding: clamp(24px, 4vw, 44px);
}

.dtl-entry__image {
  aspect-ratio: 16 / 8;
  background: #dfe7ec;
}

.dtl-entry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dtl-entry h1,
.dtl-entry h2,
.dtl-entry h3,
.dtl-content h2,
.dtl-content h3 {
  color: var(--dtl-navy);
  line-height: 1.22;
}

.dtl-content p {
  margin: 0 0 1.1em;
}

.dtl-content ul,
.dtl-content ol {
  padding-left: 1.3em;
}

.dtl-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  color: var(--dtl-navy);
  background: #f0f6f6;
  border-left: 4px solid var(--dtl-teal);
}

.dtl-content figure {
  margin: 28px 0;
}

.dtl-content figcaption {
  margin-top: 8px;
  color: var(--dtl-muted);
  font-size: 14px;
}

.dtl-content-media {
  overflow: hidden;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
  background: #ffffff;
}

.dtl-content-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.dtl-content-media figcaption {
  padding: 0 16px 14px;
}

.dtl-info-grid,
.dtl-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.dtl-info-box,
.dtl-kpi {
  padding: 18px;
  background: #f5f9fa;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
}

.dtl-info-box h3,
.dtl-kpi strong {
  display: block;
  margin: 0 0 8px;
  color: var(--dtl-navy);
  font-size: 18px;
  line-height: 1.25;
}

.dtl-kpi strong {
  color: var(--dtl-teal);
  font-size: 26px;
}

.dtl-checklist {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.dtl-checklist li {
  position: relative;
  padding: 12px 14px 12px 42px;
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: 7px;
}

.dtl-checklist li::before {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--dtl-teal);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  content: "";
}

.dtl-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
  background: #ffffff;
}

.dtl-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.dtl-table th,
.dtl-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--dtl-line);
}

.dtl-table th {
  color: var(--dtl-navy);
  background: #edf5f6;
}

.dtl-table tr:last-child td {
  border-bottom: 0;
}

.dtl-entry-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  color: var(--dtl-muted);
  font-size: 14px;
}

.dtl-entry-meta a {
  color: var(--dtl-muted);
}

.dtl-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.dtl-tags a {
  padding: 7px 10px;
  color: var(--dtl-navy);
  background: #eef5f6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.dtl-sidebar {
  display: grid;
  gap: 22px;
}

.dtl-widget {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
}

.dtl-widget h2,
.dtl-widget h3 {
  margin: 0 0 14px;
  color: var(--dtl-navy);
  font-size: 19px;
}

.dtl-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dtl-widget li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--dtl-line);
}

.dtl-search-form {
  display: flex;
  gap: 8px;
}

.dtl-search-form input[type="search"] {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--dtl-line);
  border-radius: 6px;
}

.dtl-pagination {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.dtl-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dtl-pagination ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dtl-pagination a,
.dtl-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  color: var(--dtl-navy);
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: 6px;
  font-weight: 800;
}

.dtl-pagination .current {
  color: #ffffff;
  background: var(--dtl-teal);
  border-color: var(--dtl-teal);
}

.dtl-related {
  margin-top: 42px;
}

.dtl-contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 34px;
  color: #ffffff;
  background: var(--dtl-navy);
  border-radius: var(--dtl-radius);
}

.dtl-contact-panel h2,
.dtl-contact-panel p {
  margin-top: 0;
}

.dtl-contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dtl-contact-list strong {
  display: block;
  color: var(--dtl-gold);
}

.dtl-form-grid {
  display: grid;
  gap: 12px;
}

.dtl-form-grid input,
.dtl-form-grid textarea,
.dtl-form-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--dtl-ink);
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: 6px;
}

.dtl-form-grid textarea {
  min-height: 118px;
  resize: vertical;
}

.dtl-site-footer {
  color: #dce8f0;
  background: #0b1f32;
}

.dtl-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 52px 0;
}

.dtl-footer-logo {
  width: 220px;
  margin-bottom: 14px;
}

.dtl-site-footer h2,
.dtl-site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.dtl-site-footer p {
  margin: 0;
}

.dtl-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dtl-site-footer li + li {
  margin-top: 9px;
}

.dtl-site-footer a {
  color: #dce8f0;
}

.dtl-site-footer a:hover {
  color: var(--dtl-gold);
}

.dtl-footer-bottom {
  padding: 18px 0;
  color: #c1d0db;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dtl-empty {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--dtl-line);
  border-radius: var(--dtl-radius);
}

.dtl-404 {
  padding: 90px 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .dtl-grid--3,
  .dtl-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dtl-layout {
    grid-template-columns: 1fr;
  }

  .dtl-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .dtl-topbar__inner,
  .dtl-section-header,
  .dtl-header-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .dtl-header-main {
    min-height: auto;
    padding: 14px 0;
  }

  .dtl-nav-toggle {
    position: absolute;
    top: 58px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dtl-main-nav {
    display: none;
    width: 100%;
  }

  .dtl-main-nav.is-open {
    display: block;
  }

  .dtl-main-nav ul {
    display: grid;
    width: 100%;
    gap: 4px;
  }

  .dtl-main-nav a {
    width: 100%;
  }

  .dtl-hero,
  .dtl-hero__content {
    min-height: 560px;
  }

  .dtl-hero__facts,
  .dtl-grid--2,
  .dtl-grid--3,
  .dtl-contact-panel,
  .dtl-info-grid,
  .dtl-kpi-strip,
  .dtl-sidebar,
  .dtl-footer-main {
    grid-template-columns: 1fr;
  }

  .dtl-hero__facts {
    margin-top: 0;
  }

  .dtl-section {
    padding: 54px 0;
  }
}

@media (max-width: 520px) {
  .dtl-container {
    width: min(100% - 24px, var(--dtl-content));
  }

  .dtl-logo img,
  .dtl-footer-logo {
    width: 188px;
  }

  .dtl-hero h1,
  .dtl-page-title {
    font-size: 36px;
  }

  .dtl-hero p {
    font-size: 17px;
  }

  .dtl-fact,
  .dtl-card__body,
  .dtl-widget {
    padding: 18px;
  }

  .dtl-contact-panel {
    padding: 22px;
  }
}


/* KIRA_LOGO_REFRESH_START */
.site-logo img,.navbar-brand img,.custom-logo-link img,img.custom-logo{height:75px!important;width:auto!important;max-width:min(300px,48vw)!important;object-fit:contain!important;}
.site-footer img.flogo,footer img[src*='logo-light-kira-'],footer img[src*='logo-light.png']{height:69px!important;width:auto!important;max-width:min(290px,55vw)!important;object-fit:contain!important;}
@media(max-width:680px){.site-logo img,.navbar-brand img,.custom-logo-link img,img.custom-logo{height:58px!important;max-width:62vw!important}.site-footer img.flogo,footer img[src*='logo-light-kira-'],footer img[src*='logo-light.png']{height:54px!important;max-width:70vw!important}}
/* KIRA_LOGO_REFRESH_END */
