:root {
  --primary: #4ECDC4;
  --navy: #1B365D;
  --bg: #F8F9FA;
  --text: #0E223A;
  --muted: #6C7A89;
  --radius: 12px;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Search Section */
.search-section {
  padding: 80px 0 40px;
}

.search-section-fullwidth {
  background-color: #fff;
  background-image: url(/wp-content/uploads/2025/08/BG.svg);
  background-position: center;
  width: 100%;
}

.search-section-inner {
  width: 100%;
}

.search-form-wrapper {
  width: 100%;
  padding: 40px 0;
}

.search-section h1 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 32px;
  font-size: 48px;
  line-height: 60px;
}

.search-section p {
  text-align: center;
  color: #666;
  max-width: 580px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.search-section .controls.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.search-section label {
  flex: 1;
}

.search-section select,
.autofill-input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s ease;
}

.search-section select:hover,
.autofill-input:hover {
  border-color: var(--primary);
}

.search-section select:focus,
.autofill-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, .15);
  outline: none;
}

/* Autofill Dropdown Styles */
.autofill-wrapper {
  position: relative;
  width: 100%;
}

.autofill-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.autofill-dropdown li {
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.autofill-dropdown li:hover,
.autofill-dropdown li.active {
  background: #f3fbfa;
  color: var(--primary);
}

.autofill-dropdown li.no-results {
  cursor: default;
  color: var(--muted);
  padding: 12px 16px;
}

.autofill-dropdown li.no-results:hover {
  background: none;
  color: var(--muted);
}

.autofill-dropdown li.no-results a {
  color: var(--primary);
  text-decoration: none;
}

.autofill-dropdown li.no-results a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .autofill-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 16px 16px 0 0;
    max-height: 50vh;
    border: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  }
}

.search-section button {
  height: 43px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
  border: 1px solid #4ECDC4;
}

.search-section button:hover {
  transform: translateY(-1px);
  color: var(--primary);
  border: 1px solid var(--primary);
  background-color: #4ECDC420;
}

@media (max-width: 768px) {
  .search-section {
    padding: 40px 0 20px;
  }

  .search-section .controls.card {
    flex-direction: column;
    padding: 16px;
  }

  .search-section button {
    width: 100%;
  }
}

/* Services List Section */
.services-list-section {
  padding: 80px 0;
  background: var(--bg);
}

.services-list-section h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
  font-size: 32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Clinic detail page services grid - 2 columns */
#detail-clinic-services-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 950px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-item {
  text-align: center;
}

.service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  text-decoration: none;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-link:hover .service-icon {
  transform: scale(1.1);
}

.service-link h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--navy);
  transition: color 0.2s ease;
}

.service-link:hover h3 {
  color: var(--primary);
}

.service-description {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 16px;
  /* Ensure text doesn't get too long */
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.service-button {
  margin-top: 12px;
}

.service-link-text {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.service-link:hover .service-link-text {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, .2);
}

@media (max-width: 768px) {
  .services-list-section {
    padding: 40px 0;
    margin: 0 12px;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .service-link {
    padding: 16px;
  }

  .service-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 12px;
  }

  .service-link h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 24px;
  }

  .service-description {
    font-size: 14px;
    margin-bottom: 12px;
    max-width: unset !important;
    margin-left: unset !important;
  }
}

/* Cities List Section */
.cities-list-section {
  padding: 60px 0;
  background: none;
}

.cities-list-section h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
  font-size: 32px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.city-item {
  text-align: center;
}

.city-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  /* background: var(--bg); */
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.city-link:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  text-decoration: none;
}

.city-button {
  margin-top: 4px;
}

.city-link-text {
  display: inline-block;
  padding: 8px;
  background-color: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.city-link:hover .city-link-text {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, .2);
}

@media (max-width: 767px) {
  .city-link:hover {
    transform: unset;
    box-shadow: unset;
  }
  
  .city-item:hover {
    transform: unset;
    box-shadow: unset;
  }
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.add-clinic-text {
  color: var(--muted);
  font-size: 15px;
  margin-right: 16px;
}

.add-clinic-button {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.add-clinic-button:hover {
  background: #f3fbfa;
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.site-header .brand {
  margin: 0 auto;
  order: 2;
}

.logo-link {
  display: block;
}

.site-logo {
  height: 40px;
  width: auto;
}

.main-menu {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.main-menu a:hover {
  background: #f3fbfa;
  color: var(--primary);
}

.main-menu .current-menu-item a,
.main-menu .current_page_item a,
.main-menu .is-active a {
  background: #eef6f5;
  color: var(--primary);
}

/* Hero */
.nj-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(78, 205, 196, 0.08), rgba(27, 54, 93, 0.04));
}

.nj-hero .shape {
  position: absolute;
  background: var(--primary);
  opacity: .15;
  filter: blur(40px);
  border-radius: 50%;
}

.nj-hero .shape.s1 {
  width: 240px;
  height: 240px;
  top: -60px;
  left: -40px;
}

.nj-hero .shape.s2 {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -80px;
}

.nj-hero .nj-title {
  color: var(--navy);
  font-weight: 800;
}

.nj-hero .nj-subtitle {
  color: var(--muted);
}

/* Search form */
.nj-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.nj-search select,
.nj-search input,
.nj-search button {
  height: 48px;
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}

.nj-search button {
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.nj-search button:hover {
  filter: brightness(0.95);
}

/* Autocomplete dropdown */
.nj-autocomplete {
  position: relative;
}

.nj-autocomplete-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  max-height: 260px;
  overflow: auto;
}

.nj-autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
}

.nj-autocomplete-item:hover,
.nj-autocomplete-item[aria-selected="true"] {
  background: #f3fbfa;
}

/* Services grid */
.nj-services .service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  display: block;
}

.nj-services .count {
  color: var(--muted);
  font-size: 14px;
}

/* Blog cards */
.nj-articles .post-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.nj-articles .post-card .inner {
  padding: 14px;
}

.nj-articles .post-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: #023c77;
  color: #A8B9CB;
  padding: 64px 0 32px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-column h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #A8B9CB;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-links .highlight a {
  color: #fff;
  font-weight: 500;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(168, 185, 203, 0.2);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-column h3 {
    margin-bottom: 16px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nj-search {
    grid-template-columns: 1fr;
  }
}

/* Sidebar filter card */
.nj-filter-card {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

.nj-filter-card h3 {
  font-size: 20px;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  color: var(--navy);
}

.nj-search {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nj-search__field {
  width: 100%;
}

.nj-search select,
.nj-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s ease;
}

.nj-search select:hover,
.nj-search input:hover {
  border-color: var(--primary);
}

.nj-search select:focus,
.nj-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, .15);
  outline: none;
}

.nj-results-count {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: var(--muted);
  font-size: 14px;
}

/* Clinics Archive Page */
.nj-clinics-wrapper {
  min-height: calc(100vh - 200px);
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 48px 20px;
}

.nj-page-header {
  margin-bottom: 48px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nj-page-title {
  font-size: 32px !important;
  margin-bottom: 16px !important;
  color: var(--navy);
}

.nj-clinics-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.nj-clinics-grid {
  margin-top: 24px;
  width: 100%;
}

.nj-clinics-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nj-no-results {
  text-align: center;
  color: var(--muted);
  padding: 48px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
}

.nj-clinic-card-wrapper {
  height: 100%;
  padding: 4px;
}

/* Clinic card */
.nj-clinic-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: all 0.3s ease;
}

.nj-clinic-card__image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.nj-clinic-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nj-clinic-card:hover .nj-clinic-card__img {
  transform: scale(1.05);
}

.nj-clinic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-color: var(--primary);
}

.nj-clinic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.nj-clinic-card__body {
  flex: 1;
  padding: 24px 24px 0 24px;
}

.nj-clinic-card__title {
  margin: 0 0 8px !important;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

.nj-clinic-card__city {
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 500;
}

.nj-clinic-card__info {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nj-clinic-card__address,
.nj-clinic-card__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.nj-clinic-card__address svg,
.nj-clinic-card__phone svg {
  flex-shrink: 0;
  color: var(--primary);
}

.nj-clinic-card__actions {
  margin-top: 24px;
  padding: 24px;
  border-top: 1px solid #e5e7eb;
}

.nj-clinic-card__address svg,
.nj-clinic-card__phone svg {
  flex-shrink: 0;
  color: var(--primary);
}

.nj-clinic-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nj-clinic-card__actions .nj-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.nj-clinic-card__actions .nj-btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 54, 93, .15);
}

/* Button */
.nj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.nj-btn:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

/* Responsive grid for listing */
/* Responsive Styles */
@media (max-width: 1200px) {
  .nj-clinics-list {
    gap: 20px;
  }

  .nj-clinic-card {
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  .nj-clinics-list {
    grid-template-columns: 1fr !important;
  }

  .nj-sidebar {
    order: 2;
  }

  .nj-filter-card {
    position: static;
    margin-top: 32px;
  }
}

/* Pagination */
.nj-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nj-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.nj-pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.nj-pagination .prev,
.nj-pagination .next {
  padding: 0 16px;
}

/* Articles List Section */
.articles-list-section {
  padding: 80px 0;
  background: none;
}

.articles-list-section h2 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
  font-size: 32px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-color: var(--primary);
}

.article-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  background-color: var(--bg);
}

.article-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-thumbnail {
  transform: scale(1.05);
}

.article-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.article-meta {
  margin-bottom: 12px;
}

.article-author {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.article-title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 600;
}

.article-excerpt {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.article-button {
  margin-top: auto;
}

.article-link-text {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-link-text:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, .2);
  color: #fff;
  text-decoration: none;
}

.articles-footer {
  text-align: center;
  margin-top: 48px;
}

.view-all-button {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, .2);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .articles-list-section {
    padding: 30px 0;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-content {
    padding: 20px;
  }

  .article-title {
    font-size: 18px;
  }

  .articles-footer {
    margin-top: 32px;
  }
}

/* Related Articles Section */
.service-related-articles {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.service-related-articles h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-color: var(--primary);
}

.article-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.article-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-content h4 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
}

.article-content h4 a {
  color: var(--navy);
  text-decoration: none;
}

.article-content h4 a:hover {
  color: var(--primary);
}

.article-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-excerpt {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nj-clinics-wrapper {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .nj-page-title {
    font-size: 28px !important;
  }

  .nj-clinic-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nj-clinic-card__actions {
    justify-content: flex-start;
  }

  .nj-clinic-card__title {
    font-size: 18px;
  }

  .nj-pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .search-section {
    padding: 40px 0 20px;
    padding: 40px 12px 20px;
  }

  .search-form-wrapper {
    padding: 40px 0;
    padding: 20px 0;
  }

  .site-footer {
    padding: 48px 0 24px;
    padding: 48px 12px 24px;
  }
}

.add-clinic-section {
  order: 3;
  width: 100%;
  max-width: 471px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 1050px) {
  .add-clinic-section {
    display: none;
  }

  #hamburger {
    order: 2;
    margin-right: 12px;
  }

  .site-header .brand {
    margin: 0 auto;
    margin: 0;
    margin-left: 12px !important;
  }

  .site-header {
    padding: 0;
  }

  .site-header .inner {
    padding: 0;
  }

  .site-header.is-active .primary-navigation {
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 65px;
    background: var(--bg);
    height: 100%;
  }

}

/* All Cities Page Styles */
.page-content {
  padding: 40px 0;
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.page-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cities-category-section {
  margin-bottom: 60px;
}

.category-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.city-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary); /* Fallback color when no image */
  border-radius: 12px;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.city-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  transition: background 0.3s ease;
}

/* Fallback overlay for cities without images */
.city-item:not([style*="background-image"]) .city-overlay {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.3) 100%);
}

.city-item:hover .city-overlay {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.4) 0%, rgba(78, 205, 196, 0.5) 100%);
}

.city-link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  text-decoration: none;
  color: white;
  text-align: center;
  transition: color 0.3s ease;
}

/* Text color for cities without background images */
.city-item:not([style*="background-image"]) .city-link {
  color: var(--navy);
}

.city-item:not([style*="background-image"]):hover .city-link {
  color: white;
}

.city-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.city-name {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}

.city-clinic-count {
  font-size: 14px;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.city-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.no-cities-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 18px;
}

/* Responsive styles for cities page */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 36px;
  }
  
  .category-title {
    font-size: 24px;
  }
  
  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }
  
  .city-item {
    min-height: 100px;
  }
  
  .city-name {
    font-size: 16px;
  }
  
  .city-clinic-count {
    font-size: 13px;
  }
}

@media (min-width: 1050px) {

  #hamburger {
    display: none;
  }
}

/* Single Post Layout */
.single-post-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 40px;
}

.main-content {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #3BBAB2 100%);
  padding: 30px 25px;
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.cta-headline {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.cta-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 25px;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: var(--primary);
  text-decoration: none;
}

/* Related Articles Section */
.related-articles {
  background: #fff;
  padding: 30px 25px;
  border-radius: var(--radius);
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.related-articles-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-article-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.related-article-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-article-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
}

.related-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-article-thumbnail:hover .related-article-image {
  transform: scale(1.05);
}

.related-article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-article-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-article-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-article-title a:hover {
  color: var(--primary);
}

.related-article-meta {
  font-size: 13px;
  color: var(--muted);
}

.related-article-date {
  font-weight: 500;
}

/* Single Post Entry Content */
.entry-content {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
}

.entry-content p {
  margin-bottom: 24px;
}

.entry-header {
  margin-bottom: 32px;
}

.featured-image {
  margin-bottom: 24px;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.entry-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  color: var(--muted);
}

.entry-footer span {
  display: block;
  margin-bottom: 8px;
}

/* Responsive styles for single posts */
@media (max-width: 1024px) {
  .single-post-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .sidebar {
    position: static;
  }
  
  .main-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .single-post-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .main-content {
    padding: 20px;
    margin: 0 15px;
    order: 1;
  }
  
  .sidebar {
    order: 2;
  }
  
  .cta-section {
    margin: 0 15px;
    padding: 25px 20px;
  }
  
  .related-articles {
    margin: 30px 15px 0;
    padding: 25px 20px;
  }
  
  .related-articles-title {
    font-size: 18px;
  }
  
  .related-article-item {
    gap: 12px;
  }
  
  .related-article-thumbnail {
    width: 70px;
    height: 70px;
  }
  
  .related-article-title {
    font-size: 15px;
  }
  
  .cta-headline {
    font-size: 20px;
  }
  
  .cta-description {
    font-size: 15px;
  }
  
  .entry-content {
    font-size: 16px;
  }
}

/* Trust Section */
.trust-content h2 {
  font-size: 32px;
  color: var(--navy);
}

.trust-subtitle {
  font-size: 1rem;
}

.trust-feature h3 {
  color: var(--navy);
}

/* Top Clinics Section */
.top-clinics-section h2 {
  font-size: 32px;
  color: var(--navy);
}

.clinic-name {
  font-size: 18px;
  color: var(--navy);
  line-height: 18px;
}

.rating-text {
  font-size: 14px;
}

.view-all-button {
  background: unset;
  padding: 12px 24px;
  color: var(--primary) !important;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background: #4ecdc415;
  border: 1px solid var(--primary);
  margin: 0 auto;
}

.top-clinics-section {
  background: none;
}

.top-clinic-item {
  border: 1px solid #e5e7eb;
  box-shadow: unset;
}

.top-clinic-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-color: var(--primary);
}

.view-all-button:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(78, 205, 196, .2);
  color: unset;
  background: #fff;
  color: var(--primary);
}

.clinic-button-text {
  background: var(--primary) !important;
  padding: 8px 16px;
  background-color: var(--primary) !important;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

.top-clinic-item:hover .clinic-button-text {
  background: unset;
  transform: unset;
}

/* Services Footer */
.services-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Cities Footer */
.cities-footer {
  display: flex;
  margin-top: 24px;
}

/* Trust Icon */
.trust-icon {
  background: linear-gradient(135deg, #4ECDC4 50%, #16697A 100%) !important;
}

/* Mobile Responsive Adjustments - Under 768px */
@media (max-width: 768px) {
  .search-section h1 {
    font-size: 28px !important;
    line-height: 40px !important;
  }

  .services-grid {
    padding: 0 !important;
  }

  .cities-grid {
    padding: 0 12px !important;
  }

  .articles-grid {
    padding: 0 12px !important;
  }

  .search-section p {
    font-size: 14px !important;
  }

  .service-link h3 {
    font-size: 24px !important;
    line-height: 25px !important;
  }

  .services-list-section h2 {
    font-size: 1.8rem !important;
  }

  .cities-list-section h2 {
    font-size: 1.8rem !important;
  }

  .articles-list-section h2 {
    font-size: 1.8rem !important;
  }

  .trust-section {
    margin: 20px 12px !important;
  }

  .trust-subtitle {
    font-size: 14px !important;
  }

  .trust-feature h3 {
    font-size: 24px !important;
  }

  .trust-feature p {
    font-size: 14px !important;
  }
}

/* Mobile Responsive Adjustments - Under 992px */
@media (max-width: 992px) {
  .top-clinics-section {
    margin: 20px 12px !important;
  }

  .top-clinics-section h2 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 999px) {
  .service-description {
    margin-left: unset;
  }
}

.view-all-link-footer {
  color: #fff !important;
  text-decoration: underline !important;
}

/* Hide original latest-review on mobile */
@media (max-width: 767px) {
  .latest-review {
    display: none !important;
  }
  
  .insurance-providers {
    display: none !important;
  }
}

/* Mobile latest-review styles */
.mobile-latest-review {
  display: none !important;
}

/* Mobile insurance-providers styles */
.mobile-insurance-providers {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-latest-review {
    display: block !important;
    padding: 1rem !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #4ecdc4 !important;
    border-radius: 8px !important;
    margin-bottom: 2rem !important;
    box-shadow: none !important;
  }

  .mobile-latest-review .review-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .mobile-latest-review .reviewer-photo {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .mobile-latest-review .reviewer-info {
    flex: 1 !important;
  }

  .mobile-latest-review .reviewer-name {
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 0 !important;
  }

  .mobile-latest-review .review-rating {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .mobile-latest-review .rating-stars {
    color: #fbbf24 !important;
    letter-spacing: -1px !important;
  }

  .mobile-latest-review .review-time {
    display: none !important;
  }

  .mobile-latest-review .review-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #444 !important;
    margin-bottom: 0.75rem !important;
  }

  .mobile-latest-review .review-link-wrapper {
    margin-top: 0.75rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid #eee !important;
  }

  .mobile-latest-review .view-more-reviews-link {
    color: #16697A !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }

  .mobile-latest-review .view-more-reviews-link:hover {
    text-decoration: underline !important;
  }
  
  .mobile-insurance-providers {
    display: block !important;
    padding: 1rem 0 !important;
    background: #fff !important;
    border: unset !important;
    border-radius: 8px !important;
    margin-bottom: 2rem !important;
    box-shadow: unset !important;
  }

  .mobile-insurance-providers h3 {
    margin: 0 0 1rem 0 !important;
    font-size: 1.7rem !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
  }

  .mobile-insurance-providers .insurance-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: flex-start !important;
  }

  .mobile-insurance-providers .insurance-logo {
    width: 83px !important;
    height: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    padding: 8px !important;
    border: 1px solid #4ECDC430 !important;
    border-radius: 4px !important;
  }

  .mobile-insurance-providers .insurance-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  
  #recenzie {
    padding-top: 24px !important;
  }
}

/* Reviews responsive display */
.desktop-show-more {
  display: block !important;
}

.mobile-show-more {
  display: none !important;
}

@media (max-width: 767px) {
  /* Hide desktop show more button on mobile */
  .desktop-show-more {
    display: none !important;
  }
  
  /* Show mobile show more button on mobile */
  .mobile-show-more {
    display: block !important;
  }
  
  /* Hide reviews beyond mobile limit */
  .hidden-review-mobile {
    display: none !important;
  }
}

/* Hide show more buttons after click */
.hidden-button {
  display: none !important;
}

.mobile-show-more.hidden-button {
  display: none !important;
}

.desktop-show-more.hidden-button {
  display: none !important;
}

/* Extra specific rule to override mobile show more */
.reviews-show-more.mobile-show-more.hidden-button {
  display: none !important;
}

.reviews-show-more.desktop-show-more.hidden-button {
  display: none !important;
}

@media (min-width: 768px) {
  /* Hide reviews beyond desktop limit */
  .hidden-review-desktop {
    display: none !important;
  }
}

/* Fixed Bottom Action Bar */
.fixed-bottom-action-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border-top: 1px solid #e5e7eb !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1) !important;
  z-index: 1000 !important;
  padding: 12px 20px !important;
  display: none !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 767px) {
  .fixed-bottom-action-bar {
    display: block !important;
    padding: 8px !important;
    padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  }
  
  .fixed-bottom-action-bar:not(.visible) {
    transform: translateY(180%) !important;
  }
  
  .fixed-bottom-action-bar.visible {
    transform: translateY(0%) !important;
  }
}

.whatsapp-contact-link {
  position: absolute;
  right: 16px;
  top: -70px;
  width: 60px;
}

.whatsapp-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery Video Play Button Overlay */
.video-item {
  position: relative;
}

.video-play-overlay {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  opacity: 0.9;
  pointer-events: all;
  top: 0;
  left: 0;
  transform: unset;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-play-overlay:hover svg {
  transform: scale(1.3);
  background: unset !important;
}

.video-play-overlay svg {
  transition: all ease-in-out 0.2s;
}

.gallery-video {
  cursor: pointer !important;
  position: relative;
}

.video-item .gallery-video {
  pointer-events: all;
}

@media (max-width: 768px) {
  .video-play-overlay svg {
    width: 30px;
    height: 30px;
  }
}

.action-bar-container {
  display: flex !important;
  gap: 12px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  justify-content: center !important;
}

.action-bar-container h4 {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #6b7280 !important;
  margin-bottom: 8px !important;
}

.actions-buttons-wrapper {
  display: flex !important;
  gap: 8px !important;
}

.action-btn {
  flex: 1 !important;
  max-width: 200px !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  text-align: center !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #16697A !important;
}

.primary-btn {
  background: #16697A !important;
  color: #fff !important;
  border-color: #16697A !important;
}

.primary-btn:hover {
  background: #16697A !important;
  border-color: #16697A !important;
  font-size: 12px !important;
  color: #fff !important;
  text-decoration: none !important;
}

.secondary-btn {
  background: unset !important;
  color: #16697A !important;
  border-color: #16697A !important;
}

.secondary-btn:hover {
  background: #16697A20 !important;
  color: #16697A !important;
  transform: unset !important;
  text-decoration: none !important;
}

/* Add bottom padding to body to account for fixed bar */
body.single-dcd_clinic {
  padding-bottom: 80px !important;
}

@media (max-width: 767px) {
  .action-bar-container {
    gap: 0 !important;
    flex-direction: column !important;
  }
  
  .action-btn {
    font-size: 12px !important;
    padding: 0.625rem 1.25rem !important;
  }
  
  body.single-dcd_clinic {
    padding-bottom: 90px !important;
  }
  
  .sidebar-section.related-clinics {
    display: none !important;
  }
  
  .sidebar {
    order: unset !important;
  }
  
  .mobile-related-clinics {
    margin: 1rem 12px !important;
  }
  
  .clinic-detail-image {
    max-width: 100% !important;
  }
  
  .clinic-detail-wrapper {
    gap: 1rem !important;
  }
  
  article.dcd_clinic {
    margin-top: 0 !important;
    border-radius: 0 !important;
  }
}

/* Mobile Related Clinics General Styling */
.mobile-related-clinics {
  border: 1px solid #eee !important;
}

.latest-review, .appointment-section, .sidebar-section.opening-hours, .sidebar-section.parking-options, .sidebar-section.payment-options, .sidebar-section.accessibility-options, .sidebar-map-section, .social-media-section, .insurance-providers {
  border: 1px solid #e5e7eb;
}

.payment-options, .accessibility-options {
  margin-bottom: 16px !important;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
}

.sidebar-map-section {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 16px;
  border-top: 1px solid #eee;
}

.sidebar-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 15px;
  color: #333;
}

.payment-options ul, .accessibility-options ul {
  font-size: 12px;
  padding-left: 1rem;
  margin: 0;
}

.sidebar-map-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

/* Footer Combinations Section */
.footer-combinations {
  background: #f8f9fa;
  padding: 40px 0;
  margin-bottom: 40px;
  border-radius: 12px;
}

.footer-combinations h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 30px;
}

.combinations-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.combinations-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.combinations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
}

.combination-link {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  display: inline-block;
padding: 4px;
font-size: 12px;
margin: 2px 4px;  
}

.combination-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .combinations-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .combinations-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-combinations {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .footer-combinations h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .combinations-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .combinations-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px;
  }
  
  .combination-link {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .combinations-list {
    grid-template-columns: 1fr;
  }
  
  .combination-link {
    font-size: 12px;
  }
}

/* Footer Toggle Functionality */
.footer-links-container {
  max-height: 440px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-links-container.expanded {
  max-height: none;
  overflow: visible;
}

.footer-hidden {
  display: list-item !important;
}

.toggle-footer-links {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.toggle-footer-links:hover {
  color: var(--navy);
  text-decoration: underline;
}

.view-all-link-footer {
  margin-top: 10px;
  padding-top: 10px;
}