body.taniland-body {
  padding-top: 80px;
  background: #f5f7fb;
}

body.taniland-body.admin-bar {
  padding-top: 112px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.taniland-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.taniland-pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
}

.taniland-pagination .page-numbers.current,
.taniland-pagination .page-numbers:hover {
  background: var(--taniland-primary);
  border-color: var(--taniland-primary);
  color: #fff;
}

.taniland-prose h2,
.taniland-prose h3 {
  font-size: 1.45rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.taniland-prose p,
.taniland-prose li {
  line-height: 1.75;
}

.taniland-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.taniland-prose img {
  border-radius: 12px;
  margin: 1rem 0;
}

@media (max-width: 1024px) {
  body.taniland-body {
    padding-top: 72px;
  }

  body.taniland-body.admin-bar {
    padding-top: 104px;
  }
}

.tomland-related-section {
  clear: both;
}

.tomland-related-grid {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: stretch;
}

@media (min-width: 768px) {
  .tomland-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tomland-related-grid > * {
  width: 100%;
  margin: 0 !important;
  transform: none !important;
}

/* News category page - demo layout */
.tomland-news-page {
  padding-top: 96px;
  padding-bottom: 56px;
}

.tomland-news-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.tomland-news-sidebar {
  border-right: 1px solid #e2e8f0;
  padding-right: 18px;
}

.tomland-news-box {
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 18px;
}

.tomland-news-box-title {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.tomland-news-box-sub {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tomland-news-search-wrap {
  margin-top: 12px;
  height: 40px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.tomland-news-search-input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  color: #334155;
  background: transparent;
}

.tomland-news-section-label {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tomland-news-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tomland-news-cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.tomland-news-cat-list a:hover,
.tomland-news-cat-list a.is-active {
  color: #0c2854;
  background: #eef4ff;
}

.tomland-news-mini-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.tomland-news-mini-item:last-child {
  margin-bottom: 0;
}

.tomland-news-mini-item .thumb {
  height: 52px;
  overflow: hidden;
  border-radius: 8px;
  background: #cbd5e1;
}

.tomland-news-mini-item h4 {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.tomland-news-subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: #0c2854;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.tomland-news-title {
  margin: 0;
  color: #0c2854;
  font-family: var(--taniland-font-headline);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
}

.tomland-news-desc {
  margin: 10px 0 0;
  color: #64748b;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.6;
}

.tomland-news-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tomland-news-item {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.tomland-news-item-image {
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.tomland-news-item-body {
  min-width: 0;
}

.tomland-news-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tomland-news-item-title {
  margin: 8px 0 0;
  font-family: var(--taniland-font-headline);
  font-size: clamp(28px, 2.1vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  color: #0c2854;
}

.tomland-news-item-title a:hover {
  opacity: 0.85;
}

.tomland-news-item-excerpt {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.7;
  font-size: 15px;
}

.tomland-news-item-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0c2854;
  font-weight: 800;
  font-size: 14px;
}

.tomland-news-page .taniland-pagination .page-numbers {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 12px;
  border-color: #e2e8f0;
}

@media (max-width: 1024px) {
  .tomland-news-layout {
    grid-template-columns: 1fr;
  }

  .tomland-news-sidebar {
    border-right: 0;
    padding-right: 0;
  }

  .tomland-news-item {
    grid-template-columns: 1fr;
  }

  .tomland-news-item-image {
    height: 220px;
  }
}

/* Contact page: map iframe + FAQ accordion */
.tomland-map-embed,
.tomland-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tomland-faq-accordion {
  border-top: 1px solid #e2e8f0;
}

.tomland-faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.tomland-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #2b1d17;
}

.tomland-faq-item summary::-webkit-details-marker {
  display: none;
}

.tomland-faq-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #3a2b24;
  border-bottom: 2px solid #3a2b24;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 10px;
}

.tomland-faq-item[open] .tomland-faq-icon {
  transform: rotate(-135deg);
}

.tomland-faq-answer {
  padding: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a352d;
}

@media (max-width: 1024px) {
  .tomland-faq-item summary {
    font-size: 15px;
  }

  .tomland-faq-answer {
    font-size: 15px;
  }
}

/* Featured property cards */
.tomland-featured-card {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tomland-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 30, 64, 0.2);
  box-shadow: 0 20px 28px rgba(0, 30, 64, 0.12);
}

.tomland-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  z-index: 2;
}

.tomland-badge-hot {
  background: linear-gradient(90deg, #ff4d4f 0%, #d7263d 100%);
}

.tomland-badge-featured {
  background: linear-gradient(90deg, #001e40 0%, #0b3d7d 100%);
}

.tomland-badge-new {
  background: linear-gradient(90deg, #16a34a 0%, #2a6b2c 100%);
}

/* Wiki BDS page */
.tomland-wiki-page {
  padding-top: 96px;
  padding-bottom: 56px;
}

.tomland-wiki-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.tomland-wiki-sidebar {
  border-right: 1px solid #e2e8f0;
  padding-right: 18px;
}

.tomland-wiki-box {
  margin-bottom: 18px;
}

.tomland-wiki-side-title {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
}

.tomland-wiki-side-sub {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tomland-wiki-search-wrap {
  margin-top: 12px;
  height: 40px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.tomland-wiki-search-input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 13px;
  color: #334155;
  background: transparent;
}

.tomland-wiki-section-label {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tomland-wiki-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tomland-wiki-cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.tomland-wiki-cat-list a:hover,
.tomland-wiki-cat-list a.is-active {
  color: #0c2854;
  background: #eef4ff;
}

.tomland-wiki-mini-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.tomland-wiki-mini-item:last-child {
  margin-bottom: 0;
}

.tomland-wiki-mini-item .thumb {
  height: 52px;
  overflow: hidden;
  border-radius: 8px;
  background: #cbd5e1;
}

.tomland-wiki-mini-item h4 {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.tomland-wiki-title {
  margin: 0;
  color: #0c2854;
  font-family: var(--taniland-font-headline);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
}

.tomland-wiki-desc {
  margin: 10px 0 0;
  color: #64748b;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.6;
}

.tomland-wiki-hero-card {
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dbe4f3;
  background: linear-gradient(140deg, #f8fbff 0%, #edf4ff 100%);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 0;
}

.tomland-wiki-hero-image {
  min-height: 260px;
  background: #d7e1ef;
}

.tomland-wiki-hero-body {
  padding: 22px;
}

.tomland-wiki-meta {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tomland-wiki-hero-body h2 {
  margin: 10px 0 0;
  color: #0c2854;
  font-family: var(--taniland-font-headline);
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1.12;
  font-weight: 900;
}

.tomland-wiki-hero-body p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.7;
}

.tomland-wiki-readmore {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0c2854;
  font-weight: 800;
  font-size: 14px;
}

.tomland-wiki-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tomland-wiki-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tomland-wiki-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 30, 64, 0.2);
  box-shadow: 0 18px 28px rgba(0, 30, 64, 0.09);
}

.tomland-wiki-card-image {
  height: 160px;
  background: #dce5f3;
  display: block;
}

.tomland-wiki-card-body {
  padding: 14px;
}

.tomland-wiki-card-body h3 {
  margin: 6px 0 0;
  color: #0c2854;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.tomland-wiki-card-body p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .tomland-wiki-layout {
    grid-template-columns: 1fr;
  }

  .tomland-wiki-sidebar {
    border-right: 0;
    padding-right: 0;
  }

  .tomland-wiki-hero-card {
    grid-template-columns: 1fr;
  }

  .tomland-wiki-hero-image {
    min-height: 220px;
  }

  .tomland-wiki-grid {
    grid-template-columns: 1fr;
  }
}

/* Cho thue page */
.tomland-rent-page {
  padding-top: 96px;
  padding-bottom: 56px;
}

.tomland-rent-hero {
  border: 1px solid #dbe4f3;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7fbff 0%, #edf5ff 100%);
  padding: 22px 22px 20px;
}

.tomland-rent-hero h1 {
  margin: 6px 0 0;
  color: #0c2854;
  font-family: var(--taniland-font-headline);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 900;
}

.tomland-rent-hero p {
  margin: 10px 0 0;
  max-width: 900px;
  color: #4b5f79;
  font-size: 15px;
  line-height: 1.65;
}

.tomland-rent-eyebrow {
  margin: 0;
  color: #6a84a4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 11px;
}

.tomland-rent-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 20px;
}

.tomland-rent-sidebar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  height: fit-content;
  position: sticky;
  top: 112px;
}

.tomland-rent-label {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.tomland-rent-input {
  width: 100%;
  height: 40px;
  border: 1px solid #dbe4f3;
  border-radius: 10px;
  padding: 0 11px;
  color: #334155;
  font-size: 13px;
  background: #fff;
}

.tomland-rent-submit {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(90deg, #001e40 0%, #0b3d7d 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.tomland-rent-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 12px;
}

.tomland-rent-toolbar a {
  color: #0c2854;
  font-weight: 700;
}

.tomland-rent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tomland-rent-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tomland-rent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 30, 64, 0.2);
  box-shadow: 0 20px 28px rgba(0, 30, 64, 0.1);
}

.tomland-rent-thumb {
  position: relative;
  height: 196px;
  background: #dce5f3;
  display: block;
}

.tomland-rent-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(90deg, #0b3d7d 0%, #001e40 100%);
  box-shadow: 0 8px 18px rgba(0, 30, 64, 0.2);
}

.tomland-rent-type {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #0c2854;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.tomland-rent-body {
  padding: 13px;
}

.tomland-rent-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.tomland-rent-body h3 {
  margin: 8px 0 0;
  color: #0c2854;
  font-size: 22px;
  line-height: 1.22;
  font-family: var(--taniland-font-headline);
  font-weight: 800;
  min-height: 56px;
}

.tomland-rent-meta-row {
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.tomland-rent-price {
  color: #0c2854;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tomland-rent-area {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 1200px) {
  .tomland-rent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .tomland-rent-layout {
    grid-template-columns: 1fr;
  }

  .tomland-rent-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .tomland-rent-grid {
    grid-template-columns: 1fr;
  }

  .tomland-rent-body h3 {
    font-size: 18px;
    min-height: auto;
  }

  .tomland-rent-price {
    font-size: 24px;
  }
}

.tomland-rent-quick-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tomland-rent-quick-tabs a {
  min-height: 34px;
  border: 1px solid #dbe4f3;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #47607f;
  background: #f8fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
}

.tomland-rent-quick-tabs a:hover,
.tomland-rent-quick-tabs a.is-active {
  color: #0c2854;
  border-color: rgba(12, 40, 84, 0.25);
  background: linear-gradient(180deg, #fff 0%, #eaf3ff 100%);
  box-shadow: 0 8px 18px rgba(12, 40, 84, 0.08);
}

.tomland-rent-status {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #475569 0%, #334155 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.tomland-rent-card.is-rented {
  opacity: 0.9;
}

.tomland-rent-card.is-rented .tomland-rent-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
}

.tomland-rent-card.is-rented .tomland-rent-thumb > * {
  position: relative;
  z-index: 1;
}

.tomland-map-picker {
  height: 320px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.tomland-map-picker .leaflet-control-zoom a {
  color: #0c2854;
}

@media (max-width: 768px) {
  .tomland-map-picker {
    height: 260px;
  }
}

.tomland-search-map {
  height: 220px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #dbeafe;
}
