/*
Theme Name:  NTsolo Custom Theme
Theme URI:   http://ntsolo.local/
Author:      Antigravity
Description: Standalone optimized theme for NTsolo, Elementor-free.
Version:     1.0.0
Template:    listeo
*/

/* Custom Design Tokens matching color palete.png */
:root {
  --primary-color: #0c5ca8;     /* Brand Blue */
  --accent-color: #027a48;      /* Vibrant Green */
  --yellow-color: #fec84b;      /* Warning Gold */
  --bg-color: #f8faff;          /* Page background */
  --card-bg: #ffffff;
  --text-dark: #1d2939;         /* Dark Slate */
  --text-muted: #667085;
  --border-color: #eaecf0;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
}

/* Unified real-estate and services homepage system */
.nt-home-premium {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  font-family: Inter, sans-serif;
}

/* Duplicate class in the selector intentionally wins over the utility
 * background declarations that the parent theme injects with !important. */
.nt-home-hero.nt-home-hero {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 390px;
  display: flex;
  align-items: center;
  background-color: #173d66 !important;
  background-image: linear-gradient(180deg, rgba(8, 35, 62, .18), rgba(8, 35, 62, .34)), url("assets/images/home-hero.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.nt-home-hero > div {
  width: 100%;
}

@media (max-width: 640px) {
  .nt-home-hero {
    min-height: 460px;
    background-position: 57% center !important;
  }
}

.nt-home-premium section {
  padding: 32px 0;
  border-bottom: 1px solid #eef1f5;
}

.nt-home-premium section > header,
.nt-home-section-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.nt-home-premium section > header {
  margin-bottom: 18px;
}

.nt-home-premium header > div > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #027a48;
}

.nt-home-premium h2 {
  margin: 3px 0;
  font: 700 26px/1.2 "Hanken Grotesk", sans-serif;
  color: #102a4c;
}

.nt-home-premium header p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.nt-home-premium header > a,
.nt-home-section-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  background: #006b52;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nt-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nt-home-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 2px 14px;
}

.nt-home-carousel::-webkit-scrollbar {
  display: none;
}

.nt-home-carousel .nt-home-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.nt-home-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .07);
  transition: transform .2s, box-shadow .2s;
}

.nt-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 24, 40, .12);
}

.nt-home-card > a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.nt-home-card__link { position: relative; }

.nt-home-card__image {
  position: relative;
  /* Keep the homepage gallery in the same landscape proportion as the
   * catalogue cards. This avoids the tall, squeezed cards on four-column
   * sections while still filling the image area with object-fit: cover. */
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  background: #e8f1ff;
}

.nt-home-card__image-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  overflow: hidden;
}

.nt-home-card__image-link img,
.nt-home-card__image-link .nt-home-card__placeholder {
  display: none;
}

.nt-home-card__image-link img.is-active,
.nt-home-card__image-link img:first-child:last-child,
.nt-home-card__image-link .nt-home-card__placeholder:only-child {
  display: block;
}

.nt-home-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.nt-home-card:hover .nt-home-card__image img {
  transform: scale(1.025);
}

.nt-home-card__badge {
  position: absolute;
  left: 9px;
  top: 9px;
  padding: 4px 8px;
  border-radius: 14px;
  background: #006b52;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}

.nt-home-card__transaction,
.nt-home-card__type {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(16,24,40,.16);
}

.nt-home-card__transaction { left: 14px; background: #1769c2; }
.nt-home-card__type { right: 66px; background: #00823f; }

.nt-home-card__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #0c5ca8;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .2);
  font-size: 23px;
  line-height: 1;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .15s ease, background .15s ease;
}
.nt-home-card__gallery-arrow.is-prev { left: 10px; }
.nt-home-card__gallery-arrow.is-next { right: 10px; }
.nt-home-card__image:hover .nt-home-card__gallery-arrow,
.nt-home-card__gallery-arrow:focus-visible { opacity: 1; }
.nt-home-card__gallery-arrow:hover { background: #fff; color: #084d8e; }
.nt-home-card__gallery-arrow:focus-visible { outline: 3px solid rgba(12, 92, 168, .3); outline-offset: 2px; }
@media (hover: none), (pointer: coarse) { .nt-home-card__gallery-arrow { opacity: .9; } }

.nt-home-card__favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #0c5ca8;
  box-shadow: 0 2px 8px rgba(16,24,40,.16);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.nt-home-card__favorite:hover { background: #fff; color: #d92d20; transform: scale(1.04); }
.nt-home-card__favorite .material-symbols-outlined { display: block; width: 22px; height: 22px; font-size: 22px; line-height: 22px; }
.nt-home-card__favorite[href] { display: grid; align-items: center; justify-content: center; justify-items: center; text-align: center; }
.nt-home-card__favorite[href] .material-symbols-outlined { margin: 0; }

.nt-home-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #0c5ca8;
  font: 800 30px/1 "Hanken Grotesk", sans-serif;
}

.nt-home-card__body {
  min-height: 198px;
  padding: 17px 18px 14px;
}

.nt-home-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px;
}

.nt-home-card__promotion {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 25px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4cc;
  color: #b54708;
  font-size: 11px;
  font-weight: 800;
}
.nt-home-card__promotion span { color: #eaaa08; font-size: 14px; }

.nt-home-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0c5ca8;
  font-size: 9px;
  font-weight: 800;
}

.nt-home-card__body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: #101828;
  font-size: 20px;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nt-home-card__location {
  overflow: hidden;
  margin: 0;
  color: #667085;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-home-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
.nt-home-card__facts > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1769c2;
  font-size: 11px;
  font-weight: 800;
}
.nt-home-card__facts .material-symbols-outlined { font-size: 15px; }
.nt-home-card__price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 58px;
  padding: 0 18px;
  border-top: 1px solid #eaecf0;
  color: #667085;
  font-size: 12px;
}
.nt-home-card__price strong { color: #55b81f; font-size: 18px; }

.nt-carousel-controls {
  display: flex;
  gap: 8px;
}

.nt-carousel-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid #a9d5ca;
  border-radius: 50%;
  background: #fff;
  color: #006b52;
  font-size: 20px;
  cursor: pointer;
}

.nt-carousel-controls button:hover,
.nt-carousel-controls button:focus-visible {
  outline: none;
  background: #006b52;
  color: #fff;
}

.nt-home-services {
  margin-top: 12px;
  border-radius: 18px;
  background: #f8faff;
  padding-inline: 20px !important;
}

@media (max-width: 900px) {
  .nt-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-home-carousel .nt-home-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .nt-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nt-home-carousel .nt-home-card { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 560px) {
  .nt-home-premium {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nt-home-grid {
    grid-template-columns: 1fr;
  }

  .nt-home-premium section > header {
    align-items: flex-start;
  }

  .nt-home-carousel .nt-home-card {
    flex-basis: 86%;
  }

  .nt-home-card__image {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .nt-home-section-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 9px;
  }
}

@media (max-width: 700px) {
  .nt-home-grid { grid-template-columns: 1fr; }
  .nt-home-card__body { min-height: 0; }
  .nt-home-card__body h3 { font-size: 18px; }
}

/* Header & Navigation Overrides (Elementor-Free Layout) */
header.nt-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nt-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.nt-logo__image {
  display: block;
  width: auto;
  height: 50px;
  max-width: 210px;
  object-fit: contain;
}

.nt-logo__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color) !important;
  letter-spacing: -.04em;
}

.nt-logo__wordmark strong {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.12em;
}

.nt-logo__wordmark span {
  color: var(--primary-color) !important;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.nt-logo span {
  color: var(--primary-color);
}

.nt-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nt-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  transition: color 0.15s;
}

.nt-nav a:hover {
  color: var(--primary-color);
}

/* Header Dropdowns */
.nt-nav-dropdown-wrapper {
  position: relative;
}

.dropdown-trigger {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}

.dropdown-arrow-icon {
  width: 7px;
  height: 7px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.nt-nav-dropdown-wrapper:hover > .dropdown-trigger,
.nt-nav-dropdown-wrapper:focus-within > .dropdown-trigger,
.nt-nav-dropdown-wrapper.open > .dropdown-trigger {
  background: #eef4ff;
  color: #175cd3;
}

.nt-nav-dropdown-wrapper:hover .dropdown-arrow-icon,
.nt-nav-dropdown-wrapper:focus-within .dropdown-arrow-icon,
.nt-nav-dropdown-wrapper.open .dropdown-arrow-icon {
  transform: translateY(2px) rotate(225deg);
}

.nt-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 16px 36px rgba(16, 24, 40, .16);
  min-width: 220px;
  padding: 10px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 100;
  margin-top: 8px;
}

.nt-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

.nt-nav-dropdown::after {
  content: '';
  position: absolute;
  top: 0;
  right: -11px;
  width: 22px;
  height: 22px;
  border-radius: 0 14px 0 14px;
  background: #fff;
  box-shadow: 6px 5px 12px rgba(16, 24, 40, .06);
  transform: rotate(45deg);
  z-index: -1;
}

.nt-nav-dropdown-wrapper:hover .nt-nav-dropdown,
.nt-nav-dropdown-wrapper:focus-within .nt-nav-dropdown,
.nt-nav-dropdown-wrapper.open .nt-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nt-nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nt-nav-dropdown li a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.nt-nav-dropdown li a:hover {
  background: #f9fafb;
  color: var(--primary-color);
}

/* Header Buttons styling */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-account-link {
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-account-link:hover {
  color: var(--primary-color);
}

.btn-register {
  background: #eff5fb;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-register:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.btn-skelbti {
  background: var(--accent-color);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-skelbti:hover {
  background: #02633a;
}

/* Footer Styling overrides */
footer.nt-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
  clear: both;
  color: #475467;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

footer.nt-footer .nt-container {
  box-sizing: border-box;
  width: 100%;
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-brand .nt-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 15px;
  padding: 0;
  text-decoration: none;
}

.footer-brand .footer-tagline {
  max-width: 430px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #dfe5ec;
  border-radius: 50%;
  background: #f8fafc;
  color: #155ca8;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.footer-social-icons a:hover {
  border-color: #155ca8;
  background: #155ca8;
  color: #fff;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-col > p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 11px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.footer-col > p a {
  display: inline;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}

.footer-col > p a::before {
  content: none;
}

.footer-col a {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-col a:before {
  content: "\f105"; /* Font Awesome angle-right code */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid #eef1f5;
  background: #f8fafc;
}

.footer-bottom p {
  margin: 0;
  padding: 15px 0;
  color: #667085;
  font-size: 12px;
}

/* Rest of theme component styles */
.nt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 34px 0;
  }

  .footer-inner > *,
  .footer-col,
  .footer-contacts,
  .footer-contacts a {
    min-width: 0;
    max-width: 100%;
  }

  .footer-contacts a {
    overflow-wrap: anywhere;
  }
}

/* Homepage Listings Grid */
.home-section-title {
  text-align: left;
  margin-bottom: 24px;
}

.home-section-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.home-section-title p {
  font-size: 14px;
  color: var(--text-muted);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.nt-listing-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.nt-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.nt-listing-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.nt-listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nt-listing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.nt-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
}

.nt-badge.sale {
  background: var(--accent-color);
}

.nt-badge.featured {
  background: #344054;
}

.nt-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 14px;
  transition: background 0.2s;
  z-index: 10;
}

.nt-wishlist-btn:hover {
  background: #ffffff;
  color: #d92d20;
}

.nt-listing-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.nt-listing-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.nt-listing-address {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.nt-listing-features {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.nt-listing-features span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nt-listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.nt-listing-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.nt-listing-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Category Bubbles Section */
.categories-bubbles-section {
  background: #fcfcfd;
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 48px;
}

.categories-bubbles-section h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.bubbles-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.category-bubble {
  background: #eff5fb;
  color: var(--primary-color);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.category-bubble:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Brokers / Meistrai Cards Grid */
.brokers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.nt-broker-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nt-broker-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.nt-broker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid var(--border-color);
}

.nt-broker-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.nt-broker-cat {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.nt-broker-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--yellow-color);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.nt-broker-rating span {
  color: var(--text-muted);
  font-weight: 400;
}

.nt-broker-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.nt-broker-btn {
  width: 100%;
  background: var(--accent-color);
  color: #ffffff;
  padding: 10px 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.nt-broker-btn:hover {
  background: #02633a;
}

/* Prevent underlines on navigation links, dropdown lists, dashboard links, and buttons */
.nt-nav a,
.custom-header-user-menu a,
.btn-account-link,
.btn-register,
.btn-skelbti,
.user-dropdown-menu a,
.nt-register-prompt a,
.nt-register-link a,
.nt-nav-mobile-skelbti,
aside nav a {
  text-decoration: none !important;
}

.nt-nav a:hover,
.custom-header-user-menu a:hover,
.btn-account-link:hover,
.btn-register:hover,
.btn-skelbti:hover,
.user-dropdown-menu a:hover,
.nt-register-prompt a:hover,
.nt-register-link a:hover,
.nt-nav-mobile-skelbti:hover,
aside nav a:hover {
  text-decoration: none !important;
}

/* Subtle Scrollbar for Sidebar */
aside::-webkit-scrollbar {
  width: 4px !important;
}
aside::-webkit-scrollbar-track {
  background: transparent !important;
}
aside::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1) !important;
  border-radius: 9999px !important;
}
aside::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2) !important;
}

/* Account authentication */
.nt-login-page {
  display: grid;
  min-height: min(720px, calc(100vh - 80px));
  place-items: center;
  padding: clamp(42px, 7vw, 88px) 20px;
  background:
    radial-gradient(circle at 15% 18%, rgba(12, 92, 168, .12), transparent 32%),
    radial-gradient(circle at 86% 82%, rgba(2, 122, 72, .1), transparent 30%),
    #f8faff;
}

.nt-login-page__card {
  width: min(100%, 470px);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid #e4e7ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 42, 76, .12);
  box-sizing: border-box;
}

.nt-login-page__heading {
  margin-bottom: 28px;
  text-align: center;
}

.nt-login-page__eyebrow {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0c5ca8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nt-login-page__heading h1 {
  margin: 0;
  color: #102a4c;
  font: 750 clamp(28px, 6vw, 36px)/1.1 "Hanken Grotesk", Inter, sans-serif;
}

.nt-login-page__heading p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 14px;
}

.nt-login-page .nt-login-wrap,
.nt-login-page .nt-login-wrap form,
.nt-login-page .nt-login-wrap .tabs-container {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (max-width: 540px) {
  .nt-login-page {
    min-height: 0;
    padding: 24px 14px 42px;
  }

  .nt-login-page__card {
    padding: 24px 18px;
    border-radius: 15px;
  }
}

/* NTsolo maps: a compact, unambiguous blue location pin. */
.map-marker-container,
.listeo-marker-icon {
  width: 24px !important;
  height: 31px !important;
}

.map-marker-container .marker-container,
.listeo-marker-icon .marker-container {
  top: 0 !important;
  width: 24px !important;
  height: 31px !important;
  margin: 0 !important;
  perspective: none !important;
}

.map-marker-container .marker-card,
.listeo-marker-icon .marker-card {
  top: 1px;
  left: 2px;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #0c63b8;
  box-shadow: 0 3px 8px rgba(16, 42, 76, .3);
  transform: rotate(-45deg) !important;
  transform-style: flat !important;
  transition: transform .18s ease, background-color .18s ease !important;
}

.map-marker-container:hover .marker-card,
.map-marker-container.clicked .marker-card,
.listeo-marker-icon:hover .marker-card,
.listeo-marker-icon.clicked .marker-card {
  background: #084f95;
  transform: translateY(-2px) rotate(-45deg) !important;
}

.map-marker-container .marker-card::after,
.listeo-marker-icon .marker-card::after {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-marker-container .face,
.map-marker-container .marker-arrow,
.listeo-marker-icon .face,
.listeo-marker-icon .marker-arrow {
  display: none !important;
}

/* Listing archive: keep listing-type filters compact and readable. */
body.post-type-archive-listing.halfsidebar-archive-listings-layout .full-page-content-container .filters-container {
  padding: 14px 22px 12px !important;
  border-bottom: 1px solid #e6edf5;
  background: #fff;
  box-sizing: border-box;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container > .filter-button-container {
  min-width: 0;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container > .filter-button-container > .enable-filters-button {
  flex: 0 0 auto;
  min-height: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 999px;
  font-size: 12px;
  line-height: 40px;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .slider-container {
  flex: 1 1 auto !important;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-slider {
  align-items: center;
  gap: 8px;
  min-width: 100%;
  height: 44px;
  padding: 0 40px;
  box-sizing: border-box;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item {
  flex: 0 0 auto !important;
  flex-direction: row;
  gap: 7px;
  width: auto;
  max-width: 184px;
  min-height: 38px;
  height: 38px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  transform: none !important;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item:hover {
  border-color: #9fc1e4;
  background: #f3f8fe;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item.active {
  border-color: #0c5ca8 !important;
  background: #0c5ca8 !important;
  box-shadow: 0 3px 10px rgba(12, 92, 168, .18);
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .icon-container {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0 !important;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item .icon-container i,
body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item .icon-container i.fa,
body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item .icon-container i.sl {
  display: block;
  height: 18px;
  margin: 0;
  font-size: 16px;
  line-height: 18px;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .icon-container svg,
body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .icon-container img {
  width: 16px;
  height: 16px;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-name {
  min-width: 0;
  max-width: 140px;
  overflow: hidden;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item.active .category-name,
body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item.active .icon-container i {
  color: #fff !important;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item.active .icon-container svg {
  fill: #fff !important;
}

body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .nav-button::before {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  body.post-type-archive-listing.halfsidebar-archive-listings-layout .full-page-content-container .filters-container {
    padding: 12px 14px 10px !important;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container > .filter-button-container {
    gap: 10px;
    align-items: stretch;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container > .filter-button-container > .enable-filters-button {
    align-self: flex-start;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .slider-container {
    width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .slider-container::-webkit-scrollbar {
    display: none;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-slider {
    width: max-content;
    min-width: 0;
    padding: 0;
    transform: none !important;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .nav-button {
    display: none !important;
  }

  body.post-type-archive-listing.halfsidebar-archive-listings-layout .filters-container .category-item {
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
  }
}
/* Unified service archive/search */
.nt-service-archive{background:#f8faff;min-height:70vh;color:#102a4c}.nt-service-archive__hero{padding:72px 0 58px;background:linear-gradient(135deg,#0d4f93,#0c5ca8);color:#fff}.nt-service-archive__hero .ntsolo-eyebrow{color:#cfe4ff}.nt-service-archive__hero h1{margin:8px 0;font:700 clamp(32px,4vw,50px)/1.08 "Hanken Grotesk",sans-serif}.nt-service-archive__hero p{margin:0;color:#e3efff;font-size:16px}.nt-service-archive__body{padding:30px 15px 70px}.nt-service-archive__filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end;padding:18px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 5px 18px rgba(16,24,40,.06)}.nt-service-archive__filters label{display:grid;gap:6px;color:#475467;font-size:12px;font-weight:700}.nt-service-archive__filters input,.nt-service-archive__filters select{box-sizing:border-box;width:100%;height:42px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:0 11px;color:#101828}.nt-service-archive__filters .ntsolo-button{height:42px;white-space:nowrap}.nt-service-archive__heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:34px 0 16px}.nt-service-archive__heading h2{margin:5px 0 0;font-size:25px}.nt-service-archive__heading>span{color:#667085;font-size:13px}.nt-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.nt-service-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 2px 8px rgba(16,24,40,.04)}.nt-service-card__image{display:grid;place-items:center;aspect-ratio:16/9;background:#e8f1ff;color:#0c5ca8;text-decoration:none;overflow:hidden}.nt-service-card__image img{width:100%;height:100%;object-fit:cover}.nt-service-card__image .material-symbols-outlined{font-size:44px}.nt-service-card__body{display:flex;flex:1;flex-direction:column;padding:16px}.nt-service-card__chips{display:flex;gap:6px;flex-wrap:wrap}.nt-service-card__chips span{padding:4px 7px;border-radius:999px;background:#eef5ff;color:#0c5ca8;font-size:10px;font-weight:700}.nt-service-card h3{margin:10px 0 7px;font-size:18px;line-height:1.2}.nt-service-card h3 a{color:#102a4c;text-decoration:none}.nt-service-card p{margin:0 0 16px;color:#667085;font-size:13px;line-height:1.45}.nt-service-card__footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #eef0f3}.nt-service-card__footer strong{color:#067647;font-size:14px}.nt-service-card__footer a{color:#0c5ca8;font-size:12px;font-weight:800;text-decoration:none}.nt-service-empty{padding:60px 20px;text-align:center;background:#fff;border:1px solid #e4e7ec;border-radius:14px}.nt-service-empty .material-symbols-outlined{font-size:48px;color:#98a2b3}.nt-service-empty h2{margin:10px 0 4px}.nt-service-empty p{color:#667085;margin:0 0 18px}@media(max-width:900px){.nt-service-archive__filters{grid-template-columns:1fr 1fr}.nt-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.nt-service-archive__filters{grid-template-columns:1fr}.nt-service-grid{grid-template-columns:1fr}.nt-service-archive__heading{align-items:start;flex-direction:column}}

/* Homepage service cards use the same geometry and metadata language as
 * the canonical /meistrai/ archive cards. */
.nt-home-service-grid { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nt-service-card__chips .nt-service-card__chip--premium { background: #fff3c4; color: #a05a00; }
@media (max-width: 1100px) and (min-width: 901px) {
  .nt-home-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nt-home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .nt-home-service-grid { grid-template-columns: 1fr; }
}

/* Service archive actions keep the same compact NTsolo button language as the
 * rest of the public site. The legacy theme's generic button rule otherwise
 * paints native grey controls and lets global heading styles override white
 * hero text. */
.nt-service-archive__hero h1 { color: #fff; }
.nt-service-archive .ntsolo-button,
.nt-service-archive button.ntsolo-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 0; border-radius: 8px; padding: 0 18px; background: #087f4f; color: #fff; font: 700 14px/1 "Hanken Grotesk", sans-serif; cursor: pointer; text-decoration: none; }
.nt-service-archive .ntsolo-button:hover,
.nt-service-archive button.ntsolo-button:hover { background: #05643f; color: #fff; }
.ntsolo-search-select-wrap { position: relative; }
.ntsolo-search-select-wrap > input { box-sizing: border-box; width: 100%; height: 42px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; padding: 0 11px; color: #101828; }
.ntsolo-search-select__options { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 220px; overflow: auto; padding: 4px; background: #fff; border: 1px solid #d0d5dd; border-radius: 8px; box-shadow: 0 10px 24px rgba(16,24,40,.14); }
.ntsolo-search-select__options[hidden] { display: none; }
.ntsolo-search-select__options button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: #102a4c; text-align: left; cursor: pointer; }
.ntsolo-search-select__options button:hover { background: #eef5ff; color: #0c5ca8; }
.nt-listing-search-filters .ntsolo-search-select-wrap { margin: 0; }
.nt-listing-search-filters .ntsolo-search-select__options { max-height: 240px; }
.nt-listing-search-filters .btn { min-height: 42px; border: 0; border-radius: 8px; padding: 0 16px; background: #0c5ca8; color: #fff; cursor: pointer; }
.nt-listing-search-filters .btn:hover { background: #08457e; }

/* Listing archive/search layout: compact filters on the left, results in the
 * centre and the map on the right.  The map is the real Listeo Leaflet/Google
 * instance; this CSS only controls its column and responsive height. */
.nt-listings-page { box-sizing: border-box; width: 100%; max-width: 1680px; }
.listing-layout { display: grid; grid-template-areas: "filters results map"; grid-template-columns: 292px minmax(0, 1.8fr) minmax(250px, .9fr); gap: 24px; align-items: start; }
.listing-map-wrapper { grid-area: map; min-width: 0; position: sticky; top: 92px; align-self: start; }
.listings-grid-wrapper { grid-area: results; }
.listing-layout > .sidebar-wrapper { grid-area: filters; min-width: 0; position: sticky; top: 92px; align-self: start; }
.listing-map-card { box-sizing: border-box; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(16,24,40,.06); }
.listing-map-card__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-bottom: 1px solid #e4e7ec; color: #102a4c; }
.listing-map-card__header strong { font-size: 14px; }
.listing-map-card__header span { color: #667085; font-size: 12px; }
.listing-archive-map-container { position: relative; min-height: 570px; height: calc(100vh - 188px); background: #edf5fb; }
.listing-archive-map { width: 100%; height: 100%; min-height: inherit; }
.listing-map-card__fallback { margin: 0; padding: 20px; color: #475467; font-size: 13px; }
.listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; }
.listings-grid > .nt-listing-results-heading,
.listings-grid > .pagination,
.listings-grid > p { grid-column: 1 / -1; }
.nt-listing-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; margin-bottom: 2px; color: #344054; font-size: 13px; }
.nt-listing-results-heading a { color: #0c5ca8; font-weight: 700; text-decoration: none; }
.nt-listing-results-heading a:hover { text-decoration: underline; }
.sidebar-card { box-sizing: border-box; padding: 20px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(16,24,40,.06); }
.nt-listing-search-filters { display: grid; gap: 14px; }
.nt-listing-search-filters > div { margin: 0 !important; }
.nt-listing-search-filters label { display: grid; gap: 6px; color: #475467; font-size: 12px; font-weight: 700; }
.nt-listing-filter-keyword { display: grid; gap: 6px; }
.nt-listing-filter-keyword > label { color: #475467; font-size: 12px; font-weight: 700; }
.nt-listing-keyword-shell { position: relative; display: flex; align-items: center; }
.nt-listing-keyword-shell input.search-field { padding-left: 36px !important; padding-right: 48px !important; }
.nt-listing-keyword-icon { position: absolute; top: 50%; left: 11px; z-index: 1; display: grid; place-items: center; color: #98a2b3; font-size: 18px; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.nt-listing-ai-bubble { position: absolute; top: 50%; right: 7px; z-index: 2; display: inline-flex; align-items: center; justify-content: flex-start; gap: 3px; width: 32px; height: 32px; overflow: hidden; padding: 0; border: 0; border-radius: 999px; background: linear-gradient(110deg, #f59e0b, #ec4899 55%, #7c3aed); color: #fff; cursor: pointer; transform: translateY(-50%); transition: width .2s ease, padding .2s ease, box-shadow .2s ease, transform .2s ease; }
.nt-listing-ai-bubble:hover, .nt-listing-ai-bubble:focus-visible { width: 142px; padding: 0 9px; box-shadow: 0 3px 10px rgba(124,58,237,.25); transform: translateY(-50%); }
.nt-listing-ai-bubble .material-symbols-outlined { flex: 0 0 32px; font-size: 17px; text-align: center; }
.nt-listing-ai-bubble > span:last-child { overflow: hidden; width: 0; opacity: 0; white-space: nowrap; font-size: 10px; font-weight: 800; transition: width .2s ease, opacity .2s ease; }
.nt-listing-ai-bubble:hover > span:last-child, .nt-listing-ai-bubble:focus-visible > span:last-child { width: auto; opacity: 1; }
.nt-listing-search-filters input.search-field,
.nt-listing-search-filters input[type="number"],
.nt-listing-search-filters select.search-field { box-sizing: border-box; width: 100%; height: 42px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; padding: 0 11px; color: #101828; font: inherit; }
.nt-listing-search-filters input,
.nt-listing-search-filters select { margin: 0 !important; }
.nt-listing-search-filters input:focus,
.nt-listing-search-filters select:focus { border-color: #0c5ca8; outline: 3px solid rgba(12,92,168,.12); }
.nt-listing-filter-row { display: grid; gap: 8px; }
.nt-listing-price-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nt-listing-search-filters .btn { margin-top: 2px; }
.navigation.pagination { grid-column: 1 / -1; margin-top: 10px; }
.navigation.pagination { display: flex; justify-content: center; width: 100%; }
.navigation.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.navigation.pagination li { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.navigation.pagination a,
.navigation.pagination span { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; min-width: 38px; height: 38px !important; padding: 0 11px !important; border: 1px solid #d0d5dd; border-radius: 10px; color: #344054; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1 !important; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .15s ease; }
.navigation.pagination a:hover { transform: translateY(-1px); }
.navigation.pagination .current,
.navigation.pagination a:hover { border-color: #0c5ca8; background: #0c5ca8; color: #fff; }
/* The parent Listeo archive class locks the viewport for its split-map
 * template. This custom archive is a normal document, so restore page scroll. */
body.post-type-archive-listing.halfsidebar-archive-listings-layout { max-height: none; overflow: visible; }
@media (max-width: 1280px) { .nt-listings-page { max-width: 1240px; } .listing-layout { grid-template-columns: 270px minmax(0, 1.55fr) minmax(230px, .82fr); gap: 18px; } .listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1050px) { .listing-layout { grid-template-areas: "filters results" "map map"; grid-template-columns: 270px minmax(0, 1fr); } .listing-map-wrapper { position: relative; top: auto; } .listing-archive-map-container { height: 360px; min-height: 360px; } }
@media (max-width: 760px) { .nt-listings-page { padding-right: 14px !important; padding-left: 14px !important; } .listing-layout { grid-template-areas: "filters" "results" "map"; grid-template-columns: 1fr; gap: 16px; } .listing-map-wrapper, .listing-layout > .sidebar-wrapper { position: static; } .listing-archive-map-container { height: 320px; min-height: 320px; } .listings-grid { grid-template-columns: 1fr; } .sidebar-card { padding: 16px; } }
@media (max-width: 520px) { .listings-grid { grid-template-columns: 1fr; } .nt-listing-price-row { grid-template-columns: 1fr; } }

/* Shared icon font.  Several public templates use Material Symbols while the
 * footer/header still use WordPress Dashicons; keep both aligned and visible. */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 1.1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

/* Compact shared top navigation.  Dropdown labels should not create a large
 * empty gap between the parent item and its neighbouring links. */
.nt-nav { gap: 12px; }
.nt-nav-dropdown-wrapper { display: flex; align-items: center; }
.nt-nav .dropdown-trigger { gap: 4px; padding: 0 8px; line-height: 22px; }
.nt-nav .dropdown-arrow-icon { width: 6px; height: 6px; }
.header-actions { gap: 10px; }
.header-actions .btn-skelbti { padding-right: 14px; padding-left: 14px; }

/* Advertising landing page */
.reklama-header-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 0 74px;
  color: #fff;
  background: linear-gradient(125deg, #062f5b 0%, #0c5ca8 56%, #1681d2 100%);
}
.reklama-header-banner::after {
  position: absolute;
  top: -220px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  content: "";
}
.reklama-header-banner .nt-container { position: relative; z-index: 1; }
.reklama-meta-tag,
.contact-meta-tag {
  display: inline-flex;
  align-items: center;
  color: #b2ddff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reklama-main-title {
  max-width: 760px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.reklama-lead-text {
  max-width: 700px;
  margin: 0;
  color: #d1e9ff;
  font-size: 17px;
  line-height: 1.6;
}
.reklama-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}
.reklama-plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16,24,40,.09);
}
.reklama-plan-card.featured-plan { border-color: #0c5ca8; box-shadow: 0 16px 36px rgba(12,92,168,.18); }
.plan-badge-wrapper { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.plan-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.badge-pro { background: #475467; }
.badge-top { background: #0c5ca8; }
.badge-vip { background: #d99000; }
.badge-star { background: #d97706; }
.best-value-label { color: #0c5ca8; font-size: 10px; font-weight: 800; }
.plan-title { margin: 16px 0 8px; color: #102a4c; font-size: 22px; }
.plan-desc { min-height: 76px; margin: 0; color: #667085; font-size: 13px; line-height: 1.55; }
.plan-price-box { display: flex; align-items: baseline; gap: 5px; margin: 18px 0; padding-top: 15px; border-top: 1px solid #eef2f6; }
.plan-price { color: #067647; font-size: 28px; font-weight: 800; }
.plan-duration { color: #667085; font-size: 12px; }
.plan-features { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; color: #475467; font-size: 12px; line-height: 1.4; }
.plan-features li { display: flex; align-items: flex-start; gap: 7px; }
.plan-features .dashicons { flex: 0 0 16px; width: 16px; height: 16px; color: #067647; font-size: 16px; }
.plan-action { margin-top: auto; }
.btn-order-plan { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid #b2ddff; border-radius: 9px; background: #eef5ff; color: #0c5ca8; font-size: 13px; font-weight: 800; text-decoration: none; transition: .18s ease; }
.btn-order-plan:hover, .btn-order-plan.btn-primary { border-color: #0c5ca8; background: #0c5ca8; color: #fff; }
.reklama-split-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 34px; align-items: start; margin-top: 56px; padding: 34px; border: 1px solid #e4e7ec; border-radius: 18px; background: #f8faff; }
.reklama-left-text h2 { margin: 10px 0 12px; color: #102a4c; font-size: clamp(26px, 3vw, 36px); }
.reklama-left-text .contact-meta-tag { color: #0c5ca8; }
.contact-description { max-width: 620px; margin: 0; color: #667085; font-size: 14px; line-height: 1.65; }
.contact-highlights { display: grid; gap: 16px; margin-top: 26px; }
.highlight-item { display: flex; gap: 12px; align-items: flex-start; }
.highlight-item .highlight-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e8f1ff; color: #0c5ca8; font-size: 18px; }
.highlight-item strong, .highlight-item span:not(.highlight-icon) { display: block; }
.highlight-item strong { color: #102a4c; font-size: 13px; }
.highlight-item div span { margin-top: 3px; color: #667085; font-size: 12px; line-height: 1.45; }
.reklama-form-card { padding: 24px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.06); }
.form-card-title { margin: 0 0 18px; color: #102a4c; font-size: 20px; }
.reklama-form-card form, .nt-form-card form { display: grid; gap: 9px; }
.reklama-form-card form label, .nt-form-card form label { color: #475467; font-size: 12px; font-weight: 700; }
.reklama-form-card form input:not([type="hidden"]), .reklama-form-card form select, .reklama-form-card form textarea, .nt-form-card form input:not([type="hidden"]), .nt-form-card form select, .nt-form-card form textarea { box-sizing: border-box; width: 100%; min-height: 42px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: #101828; font: inherit; }
.reklama-form-card form textarea, .nt-form-card form textarea { min-height: 110px; resize: vertical; }
.reklama-form-card form button, .nt-form-card form button { min-height: 43px; margin-top: 6px; padding: 0 18px; border: 0; border-radius: 9px; background: #0c5ca8; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.reklama-form-card form button:hover, .nt-form-card form button:hover { background: #084c8b; }

/* Query-driven public forms */
.nt-form-page { min-height: 70vh; background: #f8faff; color: #1d2939; }
.nt-form-page__hero { padding: 52px 0 58px; background: linear-gradient(125deg, #062f5b, #0c5ca8 60%, #1681d2); color: #fff; }
.nt-form-page__eyebrow { color: #b2ddff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nt-form-page__hero h1 { max-width: 760px; margin: 9px 0 10px; color: #fff; font-size: clamp(30px, 5vw, 48px); line-height: 1.1; }
.nt-form-page__hero p { margin: 0; color: #d1e9ff; font-size: 16px; }
.nt-form-page__content { padding-top: 38px; padding-bottom: 70px; }
.nt-form-card { width: min(100%, 760px); margin: 0 auto; padding: clamp(20px, 4vw, 34px); border: 1px solid #e4e7ec; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(16,24,40,.08); }
.nt-form-card > header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.nt-form-card > header > .material-symbols-outlined { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e8f1ff; color: #0c5ca8; font-size: 22px; }
.nt-form-card h2 { margin: 2px 0 4px; color: #102a4c; font-size: 23px; }
.nt-form-card > header p { margin: 0; color: #667085; font-size: 13px; }
.nt-form-card form label.ff-el-form-check-label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.nt-form-card form input[type="checkbox"], .nt-form-card form input[type="radio"] { width: auto; min-height: 0; margin: 0; }
.nt-form-card form select { appearance: auto; }
.nt-form-card form .error { color: #b42318; font-size: 12px; }

/* Footer icon alignment */
.footer-social-icons .dashicons, .footer-contacts .dashicons { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; font-size: 17px; line-height: 1; }
.footer-social-icons .material-symbols-outlined { font-size: 17px; }

/* Homepage service cards use the same gallery interaction as NT cards. */
.nt-home-services .nt-service-card__image { position: relative; }
.nt-home-services .nt-service-card__image > a { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.nt-home-services .nt-service-card__image img { display: none; }
.nt-home-services .nt-service-card__image img.is-active,
.nt-home-services .nt-service-card__image img:first-child:last-child { display: block; }
.nt-service-card__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #0c5ca8;
  box-shadow: 0 2px 8px rgba(16,24,40,.2);
  font-size: 23px;
  line-height: 1;
  opacity: 0;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .15s ease, background .15s ease;
}
.nt-service-card__gallery-arrow.is-prev { left: 10px; }
.nt-service-card__gallery-arrow.is-next { right: 10px; }
.nt-home-services .nt-service-card__image:hover .nt-service-card__gallery-arrow,
.nt-service-card__gallery-arrow:focus-visible { opacity: 1; }
.nt-service-card__gallery-arrow:hover { background: #fff; color: #084d8e; }
@media (hover: none), (pointer: coarse) { .nt-service-card__gallery-arrow { opacity: .9; } }

@media (max-width: 1000px) {
  .reklama-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .reklama-header-banner { padding: 46px 0 64px; }
  .reklama-plans-grid { grid-template-columns: 1fr; margin-top: -30px; }
  .reklama-split-container { grid-template-columns: 1fr; margin-top: 34px; padding: 22px; }
  .nt-form-page__hero { padding: 42px 0 46px; }
}
