html {
  font-size: 14px;
  height: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--accent, #22c55e);
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family, 'Inter'), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1d27;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  cursor: pointer;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding: 0px 15px;
}

.main-content {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* Header & Footer Styles */
:root {
  --accent: #22c55e;
  --header-bg: #ffffff;
  --header-border: #e5e7eb;
  --header-text: #1a1d27;
  --header-text-hover: var(--accent, #22c55e);
  --header-hover-bg: #f9fafb;
  --footer-bg: #f9fafb;
  --footer-border: #e5e7eb;
  --footer-text: #1a1d27;
  --footer-text-secondary: #6b7280;
  --page-gutter: 15px;
}

/* ========================================================================= */
/* FOOTER STYLES */
/* ========================================================================= */

footer {
  background: var(--footer-bg);
  border-top: 2px solid var(--footer-border);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  order: 1;
}

.footer-pages {
  order: 2;
}

.footer-contact {
  order: 3;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #e5e7eb;
  color: #4b5563;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent, #22c55e);
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  footer {
    padding: 40px 0 20px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-logo {
    order: 1;
  }

  .footer-pages {
    order: 2;
  }

  .footer-contact {
    order: 3;
  }

  .footer-grid nav ul {
    align-items: left;
  }

  .footer-contact>div {
    justify-content: flex-start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-grid img {
    display: block;
  }
}

/* ========================================================================= */
/* TOPBAR STYLES */
/* ========================================================================= */

.topbar {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
  font-size: 14px;
}

/* Topbar and Header specific flex combinations using the base .container */
.topbar-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-item i {
  color: var(--accent, #22c55e);
  font-size: 14px;
}

.topbar-item:hover {
  color: var(--accent, #22c55e);
}

.topbar-item span {
  font-size: 13px;
}

@media (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
    gap: 15px;
  }

  .sort-bar {
    max-width: 100%;
    width: 100%;
  }
}

/* ========================================================================= */
/* HEADER STYLES */
/* ========================================================================= */

.main-header {
  background: var(--header-bg, #ffffff);
  border-bottom: 1px solid var(--header-border, #e5e7eb);
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Softer, modern shadow */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 80px;
  /* Taller for modern look */
}

.header-content {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.header-logo img {
  height: 45px;
  display: block;
  transition: transform 0.3s ease;
}

.header-nav {
  display: flex;
  gap: 10px;
  /* Better spacing */
  align-items: center;
  margin-left: auto;
}

/* Nav Link */
.nav-link,
.nav-text {
  color: #1a1d27;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--accent, #22c55e);
}

.nav-link:last-child {
  padding-right: 0;
}

/* Dropdown specific */
.dropdown-menu-container {
  position: relative;
}

.dropdown-toggle {
  color: #1a1d27;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.dropdown-toggle:hover {
  color: var(--accent, #22c55e);
  background: #f0fdf4;
}

.dropdown-icon {
  font-size: 11px;
  transition: transform 0.3s ease;
  margin-top: 2px;
}

.dropdown-menu-container.open .dropdown-toggle {
  color: var(--accent, #22c55e);
  background: #f0fdf4;
}

.dropdown-menu-container.open .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu-container.open .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-inner {
  padding: 8px 0;
  position: relative;
}

/* Little triangle pointing up for dropdown */
.dropdown-inner::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f3f4f6;
}

.dropdown-inner::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}

.dropdown-item {
  display: block;
  color: #4b5563;
  text-decoration: none;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover {
  background: #f0fdf4;
  color: var(--accent, #22c55e);
  padding-left: 30px;
  /* Slight slide right effect */
}

/* ========================================================================= */
/* HOME PAGE (Index.cshtml) STYLES */
/* ========================================================================= */

/* Hero Section */
.home-section-inner {
  width: 100%;
  min-width: 0;
}

.hero-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 20px;
  margin: 40px 0;
  color: #1a1d27;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Hero with Banner */
.hero-section.hero-with-banner {
  padding: 0;
  margin: 30px 0;
  border-radius: 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.hero-section.hero-with-banner::before {
  display: none;
}

/* Hero Fullscreen — container'dan tam genişliğe çıkar */
.hero-section.hero-fullscreen {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0 !important;
}

.hero-section.hero-fullscreen .hero-swiper {
  border-radius: 0 !important;
  min-height: 100vh;
}

.hero-section.hero-fullscreen .hero-swiper .swiper-slide {
  min-height: 100vh;
}

/* Swiper Styles */
.hero-swiper {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border-radius: 20px;
}

.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  min-height: 600px;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 12px;
  height: 12px;
  transition: all 0.3s;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 24px;
  font-weight: bold;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  background: rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(var(--accent-rgb, 34, 197, 94), 0.08), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(74, 222, 128, 0.05), transparent 50%);
  pointer-events: none;
}

.hero-content {
  /* To align perfectly with header */
  width: 100%;
  max-width: 1320px;
  margin: 0;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #166534 0%, var(--accent, #22c55e) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #4b5563;
}

/* Search Dock — banner hero altında yüzen arama kutusu */
.hero-search-dock {
  position: relative;
  z-index: 20;
  margin-top: -36px;
  margin-bottom: 48px;
}

.hero-search-dock .hero-search-form {
  margin-bottom: 0;
}

.hero-search-form {
  display: flex;
  align-items: center;
  background: white;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  max-width: 1000px;
  margin: 0 auto 50px;
  gap: 10px;
  position: relative;
  z-index: 10;
  top:-30px;
}

.search-group {
  display: flex;
  align-items: center;
  padding: 0 15px;
  flex: 1;
  min-width: 140px;
  color: #6b7280;
}

.search-input-group {
  flex: 1.5;
}

.search-group i {
  color: var(--accent, #22c55e);
  font-size: 16px;
  margin-right: 10px;
}

.search-select,
.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  color: #1a1d27;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

/* Custom Select Implementation */
.custom-select-container {
  position: relative;
  width: 100%;
}

.search-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322c55e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0px center;
  padding-right: 20px;
  font-weight: 500;
  transition: all 0.2s ease;
  color: #1a1d27;
}

.search-select:focus {
  outline: none;
}

.search-select:invalid,
.search-select[value=""] {
  color: #9ca3af;
}

.custom-select-trigger {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  color: #1a1d27;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding-right: 24px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  height: 24px;
  position: relative;
}

/* Dynamic chevron (uses theme accent color) */
.custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background-color: var(--accent, #22c55e);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.custom-select-trigger.placeholder-selected {
  color: #9ca3af;
  font-weight: 400;
}

.custom-select-trigger span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-container.open .custom-select-trigger {
  opacity: 1;
}

/* Modifiye edilmiş Dropdown Menü (JS ile oluşan yapı) */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: max-content;
  min-width: 100%;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 0;
}

.custom-select-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}

.custom-select-container.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option-list {
  max-height: 250px;
  overflow-y: auto;
}

/* Custom scrollbar for option list */
.custom-option-list::-webkit-scrollbar {
  width: 6px;
}

.custom-option-list::-webkit-scrollbar-track {
  background: transparent;
}

.custom-option-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.custom-option-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.custom-option {
  padding: 10px 24px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.custom-option:hover {
  background: #f0fdf4;
  color: var(--accent, #22c55e);
  padding-left: 30px;
}

.custom-option.selected {
  background: #dcfce7;
  color: #166534;
  font-weight: 600;
}

.custom-option.empty-message {
  cursor: default;
  color: #9ca3af;
  font-weight: 400;
}

.custom-option.empty-message:hover {
  background: transparent;
  color: #9ca3af;
  padding-left: 24px;
}

.search-input {
  cursor: text;
}

.search-divider {
  width: 1px;
  height: 30px;
  background: #e5e7eb;
}

.hero-search-form .search-btn {
  background: var(--accent, #22c55e);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb, 34, 197, 94), 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Prefer a subtle accent gradient when supported, still fully dynamic */
@supports (background: color-mix(in srgb, red 50%, white)) {
  .hero-search-form .search-btn {
    background: linear-gradient(135deg,
      var(--accent, #22c55e) 0%,
      color-mix(in srgb, var(--accent, #22c55e) 70%, white) 100%);
  }
}

.hero-search-form .search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb, 34, 197, 94), 0.4);
}

/* Features Section */
.features-section {
  padding: 40px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1d27;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #f9fafb;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--accent-rgb, 34, 197, 94), 0.15);
  border-color: var(--accent, #22c55e);
  background: white;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--accent, #22c55e);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb, 34, 197, 94), 0.25);
}

/* Optional dynamic gradient for feature icon (still based on the accent color) */
@supports (background: color-mix(in srgb, red 50%, white)) {
  .feature-icon {
    background: linear-gradient(135deg,
      var(--accent, #22c55e) 0%,
      color-mix(in srgb, var(--accent, #22c55e) 70%, white) 100%);
  }
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1d27;
}

.feature-text {
  color: #6b7280;
  line-height: 1.6;
}

/* Blog Section */
.blog-section {
  padding: 40px 0;
  background: #f9fafb;
  border-radius: 20px;
}

.blog-carousel-container {
  position: relative;
  padding: 0 60px;
}

.blog-carousel {
  position: relative;
  overflow: hidden;
}

.blog-slide {
  display: none;
}

.blog-slide.active {
  display: block;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 20px 40px rgba(var(--accent-rgb, 34, 197, 94), 0.15);
  border-color: var(--accent, #22c55e);
}

.blog-image {
  width: 100%;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f3f4f6;
}

.blog-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #d1d5db;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  color: var(--accent, #22c55e);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1d27;
  line-height: 1.4;
}

.blog-excerpt {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  color: var(--accent, #22c55e);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: auto;
}

.blog-link:hover {
  gap: 12px;
}

/* Blog Swiper Navigation */
.blog-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.blog-swiper {
  padding-bottom: 50px !important;
}

.blog-nav-button {
  position: absolute;
  top: calc(50% - 25px);
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--accent, #22c55e);
  color: var(--accent, #22c55e);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-nav-button:hover {
  background: var(--accent, #22c55e);
  color: white;
}

.blog-nav-button.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.blog-button-prev {
  left: -13px;
}

.blog-button-next {
  right: -13px;
}

.blog-swiper .swiper-pagination {
  bottom: 0px;
}

.blog-swiper .swiper-pagination-bullet {
  background: #e5e7eb;
  opacity: 1;
  transition: all 0.3s;
}

.blog-swiper .swiper-pagination-bullet-active {
  background: var(--accent, #22c55e);
  width: 20px;
  border-radius: 4px;
}

/* Featured Swiper Pagination */
.featured-swiper .swiper-pagination {
  bottom: 0px;
}

.featured-swiper .swiper-pagination-bullet {
  background: #e5e7eb;
  opacity: 1;
  transition: all 0.3s;
}

.featured-swiper .swiper-pagination-bullet-active {
  background: var(--accent, #22c55e);
  width: 20px;
  border-radius: 4px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: #f9fafb;
  border-radius: 20px;
  margin: 40px 0;
  text-align: center;
  color: #1a1d27;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent, #22c55e);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb, 34, 197, 94), 0.1), transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1f2933;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #4b5563;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn-primary {
  background: var(--accent, #22c55e);
  color: white;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb, 34, 197, 94), 0.3);
}

.cta-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb, 34, 197, 94), 0.4);
  color: white;
}

@supports (background: color-mix(in srgb, red 50%, white)) {
  .cta-btn-primary {
    background: linear-gradient(135deg,
      var(--accent, #22c55e) 0%,
      color-mix(in srgb, var(--accent, #22c55e) 70%, white) 100%);
  }
}

.cta-btn-secondary {
  background: white;
  color: var(--accent, #22c55e);
  border: 2px solid var(--accent, #22c55e);
}

.cta-btn-secondary:hover {
  background: var(--accent, #22c55e);
  color: white;
}

.mobile-menu-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --page-gutter: 15px;
  }

  /* Hide Topbar on Mobile */
  .topbar {
    display: none;
  }

  /* Mobile Menu Toggle Button */
  .mobile-menu-toggle {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
    transition: all 0.2s ease;
  }

  .mobile-menu-toggle span {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1d27;
    border-radius: 2px;
    left: 50%;
    margin-left: -12px;
    top: 50%;
    margin-top: -1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(-8px);
  }

  .mobile-menu-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(8px);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }


  /* Mobile Overlay */
  .mobile-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Header & Navigation */
  .header-container {
    height: 70px;
    padding: 0 15px;
  }

  .header-content {
    justify-content: space-between;
  }

  .header-logo img {
    height: 35px;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    margin-left: 0;
  }

  .header-nav.active {
    transform: translateX(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-link,
  .nav-text,
  .dropdown-toggle {
    width: 100%;
    font-size: 15px;
    padding: 15px 10px;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    justify-content: space-between;
  }

  .dropdown-menu-container {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f9fafb;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu-container.open .dropdown-content {
    max-height: 500px;
  }

  .dropdown-inner {
    padding: 0;
  }

  .dropdown-inner::before,
  .dropdown-inner::after {
    display: none;
  }

  .dropdown-item {
    font-size: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e7eb;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  /* Container */
  .container {
    padding: 0 var(--page-gutter);
    max-width: 100%;
    overflow-x: hidden;
  }

  .main-content {
    overflow-x: hidden;
  }

  /* Hero Section */
  .hero-section {
    min-height: 500px;
    padding: 40px 0;
    margin: 0 calc(-1 * var(--page-gutter));
    border-radius: 0;
  }

  .hero-section.hero-with-banner {
    min-height: 500px;
    margin: 0 calc(-1 * var(--page-gutter));
    border-radius: 0;
  }

  .hero-section.hero-fullscreen {
    width: auto;
    margin-left: calc(-1 * var(--page-gutter));
    margin-right: calc(-1 * var(--page-gutter));
  }

  .hero-swiper {
    min-height: 500px;
    border-radius: 0;
  }

  .hero-swiper .swiper-slide {
    min-height: 500px;
    padding: 0px;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    display: none;
    overflow: hidden;
  }


  .hero-swiper .swiper-button-next::after,
  .hero-swiper .swiper-button-prev::after {
    font-size: 18px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-content {
    padding: 0;
    max-width: 100%;
    margin-left: 0;
  }

  .hero-section>.home-section-inner,
  .blog-section>.home-section-inner,
  .hero-shell {
    padding: 0 var(--page-gutter);
  }

  .hero-search-dock {
    margin-top: 0;
    margin-bottom: 24px;
    padding: 0;
  }

  .hero-search-form {
    flex-direction: column;
    border-radius: 12px;
    padding: 12px;
    align-items: stretch;
    margin: 0 0 25px 0;
    max-width: 100%;
    width: 100%;
  }

  .search-divider {
    display: none;
  }

  .search-group {
    width: 100%;
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    min-width: 100%;
  }

  .search-group:last-of-type {
    border-bottom: none;
  }

  .search-group i {
    font-size: 14px;
  }

  .search-select,
  .search-input {
    font-size: 14px;
  }

  .hero-search-form .search-btn {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 14px;

  }


  /* Sections */
  .section-header {
    margin-bottom: 25px;
    padding: 0;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Features Section */
  .features-section {
    padding: 35px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  /* Featured Listings */
  .featured-listings-section {
    padding: 35px 0;
  }

  .featured-swiper {
    padding: 0 0px 50px 0px !important;
  }

  .featured-button-prev,
  .featured-button-next {
    display: none !important;
  }

  /* Blog Section */
  .blog-section {
    padding: 35px 0;
    margin: 0 calc(-1 * var(--page-gutter));
    border-radius: 0;
  }

  .blog-carousel-container {
    padding: 0 !important;
  }

  .blog-button-prev,
  .blog-button-next {
    display: none !important;
  }

  .blog-card {
    margin-bottom: 20px;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-excerpt {
    font-size: 0.9rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 35px 0;
    margin: 0;
    border-radius: 12px;
  }

  .cta-content {
    padding: 25px 15px;
    margin: 0;
  }

  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .cta-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 25px;
    font-size: 14px;
  }

  .filter-card {
    max-width: 100%;
    width: 100%;
  }
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 12px;
  }

  /* Header */
  .header-container {
    height: 60px;
    padding: 0 12px;
  }

  .header-logo img {
    height: 30px;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 22px;
  }

  .mobile-menu-toggle span {
    height: 2.5px;
  }

  .header-nav {
    top: 60px;
    max-height: calc(100vh - 60px);
    padding: 15px;
  }

  .nav-link,
  .nav-text,
  .dropdown-toggle {
    font-size: 14px;
    padding: 12px 8px;
  }

  /* Hero */
  .hero-section {
    min-height: 450px;
    padding: 40px 0;
  }

  .hero-section.hero-with-banner {
    min-height: 450px;
  }

  .hero-section.hero-fullscreen {
    width: auto;
  }

  .hero-swiper {
    min-height: 450px;
  }

  .hero-swiper .swiper-slide {
    min-height: 450px;
    padding: 0px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-text {
    font-size: 0.9rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-text {
    font-size: 0.85rem;
  }
}

/* ------------------------------------------------------------- 
   Listings Page Styles 
------------------------------------------------------------- */
.listing-page-container {
  padding: 20px 0 80px;
}

.listing-page-header {
  margin-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
}

.breadcrumb {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
  font-size: 13px;
  color: #6b7280;
  background: transparent !important;
  gap: 4px;
}

.breadcrumb a {
  color: var(--accent, #22c55e) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.breadcrumb a:hover {
  text-decoration: underline !important;
}

.breadcrumb i {
  font-size: 9px;
  color: #9ca3af !important;
  margin: 0 4px;
}

.breadcrumb span {
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1d27;
  margin-bottom: 5px;
}

.results-count {
  color: #6b7280;
  font-size: 15px;
}

/* Two-column layout */
.listing-layout {
  display: flex;
  gap: 30px;
}

.listing-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.filter-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 24px;
  border: 1px solid #e5e7eb;
}

.filter-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1d27;
  margin-bottom: 20px;
  margin-top: 0px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.filter-group .form-control,
.filter-group .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1d27;
  box-sizing: border-box;
  background-color: #fff;
}

.filter-group .form-control:focus,
.filter-group .form-select:focus {
  border-color: var(--accent, #22c55e);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 34, 197, 94), 0.1);
}

.category-features-container {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.category-features-container .filter-group {
  margin-bottom: 15px;
}

.category-features-container .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-features-container .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.filter-actions {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
}

.filter-btn-primary {
  background: var(--accent, #22c55e);
  color: white;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb, 34, 197, 94), 0.2);
}

.filter-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb, 34, 197, 94), 0.3);
}

@supports (background: color-mix(in srgb, red 50%, white)) {
  .filter-btn-primary {
    background: linear-gradient(135deg,
      var(--accent, #22c55e) 0%,
      color-mix(in srgb, var(--accent, #22c55e) 70%, white) 100%);
  }
}

.filter-btn-secondary {
  background: white;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.filter-btn-secondary:hover {
  background: #f3f4f6;
  color: #1a1d27;
  border-color: #9ca3af;
}

.listing-results {
  flex: 1;
  min-width: 0;
}

/* Sort Bar */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.sort-bar .results-count {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.sort-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  white-space: nowrap;
}

.sort-label i {
  color: var(--accent, #22c55e);
  margin-right: 2px;
}

@media (max-width: 576px) {
  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sort-bar .results-count {
    font-size: 13px;
  }

  .sort-bar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .sort-bar-right .sort-select,
  .sort-bar-right select {
    width: 100%;
  }
}

.sort-select {
  width: auto;
  min-width: 180px;
  padding: 6px 32px 6px 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1d27;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2322c55e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent, #22c55e);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 34, 197, 94), 0.1);
}

.sort-select option {
  font-size: 14px;
  font-family: inherit;
  color: #1a1d27;
  background-color: #fff;
  padding: 8px 12px;
}

.sort-select option:checked,
.sort-select option:hover {
  background-color: #f0fdf4;
  color: #166534;
}

/* Listing Grid & Cards */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.listing-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  box-shadow: 0 10px 25px rgba(var(--accent-rgb, 34, 197, 94), 0.10);
  border-color: var(--accent, #22c55e);
}

.listing-card-image {
  background-size: cover;
  background-position: center;
  position: relative;
  aspect-ratio: var(--listing-card-aspect, 3/2);
  /* Dynamic aspect-ratio fallback to 3:2 */
  width: 100%;
}

.listing-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.type-badge {
  background: #2563eb;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.listing-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 15px 15px;
  font-size: 20px;
  font-weight: 800;
}

.listing-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-category-text {
  color: var(--accent, #22c55e);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.listing-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.listing-title a {
  color: #1a1d27;
  text-decoration: none;
}

.listing-title a:hover {
  color: var(--accent, #22c55e);
}

.listing-location {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-date {
  font-size: 13px;
  color: #9ca3af;
}

.listing-detail-btn {
  background: transparent;
  color: var(--accent, #22c55e);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(var(--accent-rgb, 34, 197, 94), 0.3);
}

.listing-detail-btn:hover {
  background: var(--accent, #22c55e);
  color: white;
  border-color: transparent;
}

.no-results {
  background: white;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px dashed #d1d5db;
}

.no-results i {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 22px;
  color: #1a1d27;
  margin-bottom: 10px;
}

.no-results p {
  color: #6b7280;
}

/* Mobile filter toggle - hidden by default (desktop) */
.mobile-filter-toggle {
  display: none;
}

@media (max-width: 992px) {
  .listing-layout {
    flex-direction: column;
  }

  .mobile-filter-toggle {
    display: block;
    margin-bottom: 10px;
  }

  .mobile-filter-toggle .filter-btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: 0 3px 10px rgba(var(--accent-rgb, 34, 197, 94), 0.18);
  }

  .listing-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 360px;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .listing-sidebar .filter-card {
    height: auto;
  }

  .listing-sidebar.open {
    transform: translateX(0);
  }

  .mobile-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1040;
  }

  .mobile-filter-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-filter-open {
    overflow: hidden;
  }
}

/* ------------------------------------------------------------- 
   Property Details Page (Custom Green Rounded Theme)
------------------------------------------------------------- */
.prop-detail-container {
  padding: 20px 0 80px;
}

/* Top Bar */
.prop-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e5e7eb;
}

.prop-page-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1d27;
  margin: 0;
}

.prop-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.action-btn {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #f3f4f6;
  color: #1a1d27;
}

/* Share Dropdown */
.share-dropdown-container {
  position: relative;
}

.share-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 205px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.share-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #4b5563;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.share-item:hover {
  background: #f3f4f6;
  color: #1a1d27;
}

.share-item i {
  width: 20px;
  font-size: 16px;
  text-align: center;
}

.share-item.fb i {
  color: #1877f2;
}

.share-item.x i {
  color: #1a1d27;
}

.share-item.wa i {
  color: #25d366;
}

.share-item.copy i {
  color: #6b7280;
}

/* Main Layout */
.prop-main-layout {
  display: grid;
  grid-template-columns: 4fr 3.5fr 2fr; /* agent column slightly smaller */
  gap: 25px;
  align-items: start;
}

/* Unified Main Card */
.prop-unified-card {
  background: white;
  border-radius: 16px;
}

/* Column 1: Gallery */
.prop-col-gallery {
  min-width: 0;
}

.prop-gallery-main {
  border-radius: 12px;
  overflow: hidden;
}

.prop-gallery-image {
  width: 100%;
  aspect-ratio: var(--listing-large-aspect, 3/2);
  /* Dynamic aspect ratio from admin settings */
  background-size: contain;
  /* Don't crop horizontally, fill the ratio box */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  background-color: var(--bg-secondary, #f8fafc);
  /* Subtle background for empty spaces if aspect ratio doesn't perfectly match original image */
}

.prop-gallery-thumbs {
  height: 70px;
  margin-top: 15px;
  padding-bottom: 5px;
  /* give some room for border if swiper container clips */
}

.prop-gallery-thumb {
  box-sizing: border-box;
  height: 100%;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.prop-gallery-thumbs .swiper-slide-thumb-active .prop-gallery-thumb {
  opacity: 1;
  border-color: var(--accent, #22c55e);
}

.prop-nav-next,
.prop-nav-prev {
  color: #1a1d27;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.prop-nav-next:after,
.prop-nav-prev:after {
  font-size: 14px;
  font-weight: bold;
}

/* Column 2: Details */
.prop-col-details {
  min-width: 0;
  padding: 0 15px;
}

.prop-price-row {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #d1d5db;
}

.prop-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent, #22c55e);
}

.prop-location-row {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 20px;
}

.prop-location-row i {
  color: var(--accent, #22c55e);
  margin-right: 5px;
}

.prop-features-list {
  display: flex;
  flex-direction: column;
}

.prop-feature-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.prop-feature-row:last-child {
  border-bottom: none;
}

.prop-lbl {
  width: 140px;
  font-weight: 600;
  color: #6b7280;
}

.prop-val {
  flex: 1;
  color: #1a1d27;
  font-weight: 700;
}

.prop-highlight {
  color: var(--accent, #22c55e);
  background: rgba(var(--accent-rgb, 34, 197, 94), 0.06);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: monospace;
}

/* Column 3: Contact */
.prop-agent-card {
  text-align: center;
}

.agent-avatar-box {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 0 !important;
  background: transparent;
  color: var(--accent, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.agent-avatar-box img {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 0 !important;
}

.prop-agent-name {
  font-size: 18px;
  font-weight: 800;
  color: #1a1d27;
  margin-bottom: 5px;
  margin-top: 0px;
}

.prop-agent-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  margin-top: 0px;
}

.prop-phone-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 0px;
}

.prop-phone-box i {
  color: var(--accent, #22c55e);
  font-size: 18px;
}

.phone-val {
  font-size: 16px;
  font-weight: 800;
  color: #1a1d27;
}

.prop-message-btn {
  margin-top: 10px;
}

.prop-message-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--accent, #22c55e);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  border: none;
}

.prop-message-btn a:hover {
  background: #16a34a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(var(--accent-rgb, 34, 197, 94), 0.3);
}

/* Bottom Content Tabs Area */
.prop-bottom-area {
  margin-top: 30px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.prop-tabs-nav {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.prop-tab-btn {
  background: none;
  border: none;
  padding: 20px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.prop-tab-btn:hover {
  color: #1a1d27;
}

.prop-tab-btn.active {
  color: var(--accent, #22c55e);
}

.prop-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent, #22c55e);
}

.prop-tabs-content-wrapper {
  padding: 30px;
}

.prop-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.prop-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prop-desc-text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
}

/* Amenities Grid */
.prop-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.prop-amenity-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1d27;
  margin-bottom: 15px;
}

.prop-amenity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prop-amenity-list li {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.prop-amenity-list li i {
  margin-top: 3px;
}

.prop-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Listing Detail: Image Lightbox for gallery */
.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.image-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .prop-main-layout {
    grid-template-columns: 1fr;
  }

  .prop-col-gallery,
  .prop-col-details,
  .prop-col-contact {
    width: 100%;
  }

  .prop-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Compact horizontal agent card on mobile */
  .prop-agent-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .agent-avatar-box {
    width: 80px;
    height: 80px;
    max-width: 80px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50% !important;
  }

  .agent-avatar-box img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    object-fit: cover;
    border-radius: 50% !important;
  }

  .agent-info-box {
    flex: 1;
  }

  .prop-agent-subtitle {
    margin-bottom: 0;
  }

  .prop-phone-box,
  .prop-message-btn {
    width: 100%;
    flex-basis: 100%;
    margin-top: 0px;
  }
}

@media (max-width: 576px) {
  .prop-amenities-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   Blog Index Page
------------------------------------------------------------- */
.blog-list-page {
  padding: 60px 0;
}

.blog-list-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-list-page .page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.blog-list-page .page-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Featured listings swiper */
.featured-swiper-container {
  position: relative;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .featured-swiper-container {
    padding: 0;
  }
}

@media (max-width: 992px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-index-grid {
    grid-template-columns: 1fr;
  }
}

.blog-index-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-index-card:hover {
  box-shadow: 0 20px 40px rgba(var(--accent-rgb, 34, 197, 94), 0.15);
}

.blog-index-card-image {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.blog-index-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3f4f6;
  transition: transform 0.3s ease;
}

.blog-index-card:hover .blog-index-card-image img {
  transform: scale(1.03);
}

.blog-index-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  color: #d1d5db;
  font-size: 3.5rem;
}

.blog-index-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-index-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #95a5a6;
}

.blog-index-card-meta i {
  margin-right: 5px;
}

.blog-index-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-index-card-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-index-card-title a:hover {
  color: var(--accent, #22c55e);
}

.blog-index-card-excerpt {
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-index-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent, #22c55e);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.blog-index-card-link:hover {
  gap: 12px;
}

.blog-index-no-posts {
  text-align: center;
  padding: 80px 20px;
  color: #95a5a6;
}

.blog-index-no-posts i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.blog-index-no-posts p {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-page .page-header h1 {
    font-size: 2rem;
  }
}

/* -------------------------------------------------------------
   Blog Detail Page
------------------------------------------------------------- */
.blog-detail-page {
  padding: 40px 0 80px;
}

.blog-detail-card {
  overflow: hidden;
}

.blog-detail-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.blog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-meta {
  padding: 25px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.meta-info {
  display: flex;
  gap: 25px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.meta-info i {
  margin-right: 6px;
}

.blog-detail-title {
  padding: 20px 40px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0;
}

.blog-detail-excerpt {
  padding: 0 40px 20px;
  font-size: 1.2rem;
  color: #7f8c8d;
  line-height: 1.6;
  font-style: italic;
  border-bottom: 1px solid #eee;
  margin: 0;
}

.blog-detail-content {
  padding: 40px 50px 50px;
  line-height: 1.8;
  color: #2c3e50;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4,
.blog-detail-content h5,
.blog-detail-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
}

.blog-detail-content h1 {
  font-size: 2rem;
}

.blog-detail-content h2 {
  font-size: 1.75rem;
}

.blog-detail-content h3 {
  font-size: 1.5rem;
}

.blog-detail-content h4 {
  font-size: 1.25rem;
}

.blog-detail-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-detail-content li {
  margin-bottom: 10px;
}

.blog-detail-content blockquote {
  border-left: 4px solid #3498db;
  padding: 15px 25px;
  margin: 25px 0;
  background: #f8f9fa;
  font-style: italic;
  color: #555;
}

.blog-detail-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.blog-detail-content a:hover {
  border-bottom-color: #3498db;
}

.blog-detail-content code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.blog-detail-content pre {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
}

.blog-detail-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 1.8rem;
    padding: 15px 25px;
  }

  .blog-detail-excerpt {
    padding: 0 25px 25px;
    font-size: 1rem;
  }

  .blog-detail-content {
    padding: 25px 25px 30px;
  }

  .blog-detail-meta {
    padding: 20px 25px 0;
  }

  .meta-info {
    width: 100%;
    justify-content: space-between;
  }
}

/* ========================================================================= */
/* CONTACT PAGE STYLES */
/* ========================================================================= */

.page-show-page {
  padding: 40px 0 80px;
  background-color: white;
  /* Soft background */
}

.contact-header-section {
  margin-bottom: 50px;
  text-align: center;
}

.contact-title {
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1d27;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-subtitle p {
  margin: 0;
}

.contact-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1d27;
  margin-top: 0;
  margin-bottom: 20px;
}

.contact-p-muted {
  color: #6b7280;
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(var(--accent-rgb, 34, 197, 94), 0.08);
  color: var(--accent, #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1d27;
}

.contact-info-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1d27;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-link:hover {
  color: var(--accent, #22c55e);
}

.contact-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 10px 0 30px;
  width: 100%;
}

.contact-social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact-social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-social-btn:hover {
  background-color: var(--accent, #22c55e);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(var(--accent-rgb, 34, 197, 94), 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4b5563;
}

.contact-form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1d27;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
}

.contact-form-control::placeholder {
  color: #9ca3af;
}

.contact-form-control:focus {
  border-color: var(--accent, #22c55e);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 34, 197, 94), 0.1);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-error {
  color: #ef4444;
  font-size: 0.85rem;
}

.contact-submit-btn {
  margin-top: 15px;
  background: var(--accent, #22c55e);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(var(--accent-rgb, 34, 197, 94), 0.4);
}

@supports (background: color-mix(in srgb, red 50%, white)) {
  .contact-submit-btn {
    background: linear-gradient(135deg,
      var(--accent, #22c55e) 0%,
      color-mix(in srgb, var(--accent, #22c55e) 70%, white) 100%);
  }
}

.contact-alert {
  padding: 16px 24px;
  border-radius: 10px;
  margin-bottom: 40px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-alert i {
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================= */
/* PAGE SHOW (CMS) STYLES */
/* ========================================================================= */

.page-show-header {
  padding: 0px 50px 30px;
  border-bottom: 1px solid #eee;
}

.page-show-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0;
}

.page-show-content {
  padding: 40px 50px 50px;
  line-height: 1.8;
  color: #2c3e50;
}

.page-show-content h1,
.page-show-content h2,
.page-show-content h3,
.page-show-content h4,
.page-show-content h5,
.page-show-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
}

.page-show-content h1 {
  font-size: 2rem;
}

.page-show-content h2 {
  font-size: 1.75rem;
}

.page-show-content h3 {
  font-size: 1.5rem;
}

.page-show-content h4 {
  font-size: 1.25rem;
}

.page-show-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.page-show-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
}

.page-show-content ul,
.page-show-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.page-show-content li {
  margin-bottom: 10px;
}

.page-show-content blockquote {
  border-left: 4px solid var(--accent, #22c55e);
  padding: 15px 25px;
  margin: 25px 0;
  background: #f0fdf4;
  font-style: italic;
  color: #555;
}

.page-show-content a {
  color: var(--accent, #22c55e);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-show-content a:hover {
  border-bottom-color: var(--accent, #22c55e);
}

.page-show-content code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.page-show-content pre {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 25px 0;
}

.page-show-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.page-show-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
}

.page-show-content th,
.page-show-content td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.page-show-content th {
  background: #f9fafb;
  font-weight: 600;
  color: #1a1d27;
}

.page-show-content tr:nth-child(even) td {
  background: #f9fafb;
}

@media (max-width: 768px) {
  .page-show-title {
    font-size: 1.8rem;
  }

  .page-show-header {
    padding: 25px 25px 20px;
  }

  .page-show-content {
    padding: 25px 25px 30px;
  }
}

.contact-map-container iframe {
  width: 100% !important;
  height: 450px !important;
  display: block;
  border: 0;
}