/* Location Pages Styles */

.locations-index {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.locations-intro {
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.location-card {
  min-width: 0;
}

.location-card__header {
  margin-bottom: 1rem;
}

.location-card__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.location-card__title a {
  color: inherit;
  text-decoration: none;
}

.location-card__title a:hover {
  color: var(--color-secondary-dark);
}

.location-card__region {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

.location-card__stats {
  margin-bottom: 1rem;
}

.location-card__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-card__stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
}

.location-card__stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* Location Show Page */
.location-show {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.location-header__content {
  flex: 1;
}

.location-header__title {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.location-header__subtitle {
  color: #666;
  margin: 0;
  font-size: 1.1rem;
}

.location-stats {
  display: flex;
  gap: 1rem;
}

.location-stats__card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  min-width: 80px;
}

.location-stats__number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary-dark);
}

.location-stats__label {
  display: block;
  color: #666;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.location-content {
  margin-bottom: 3rem;
}

.location-description {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.location-description h2 {
  margin-top: 0;
  color: #333;
}

.popular-services {
  margin-bottom: 2rem;
}

.popular-services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.popular-services__tag {
  background: var(--color-secondary-dark);
  color: var(--color-text-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.location-benefits {
  margin-bottom: 2rem;
}

.location-benefits__list {
  list-style: none;
  padding: 0;
}

.location-benefits__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.location-benefits__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-secondary-dark);
  font-weight: bold;
}

.companies-section {
  margin-bottom: 3rem;
}

.companies-section h2 {
  margin-bottom: 2rem;
  color: #333;
}

.no-companies {
  text-align: center;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.location-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 2rem;
}

.location-footer__breadcrumbs {
  margin-bottom: 2rem;
  color: #666;
}

.location-footer__breadcrumbs a {
  color: var(--color-secondary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.location-footer__breadcrumbs a:hover {
  text-decoration-thickness: 0.12em;
}

.location-cta {
  text-align: center;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.location-cta h3 {
  margin-top: 0;
  color: #333;
}

/* Location Benefits Section */
.locations-benefits {
  margin-bottom: 3rem;
}

.locations-benefits h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin: 0 0 1rem 0;
  color: #333;
}

.benefit-card p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.locations-guides {
  min-width: 0;
}

.locations-guides h2 {
  margin-top: 0;
  color: #333;
}

.locations-guides__links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
}

.locations-guides__links li {
  padding: 0;
}

.locations-guides__links a,
.seo-content__guide-links a {
  color: #2e7d32;
  text-decoration: none;
}

.locations-guides__links a:hover,
.seo-content__guide-links a:hover {
  text-decoration: underline;
}

.location-show p a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-content__related-guides {
  margin-top: 2rem;
}

.seo-content__guide-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.seo-content__guide-links li {
  padding: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .location-header {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .location-header__title {
    font-size: 2rem;
  }
  
  .location-stats {
    justify-content: space-between;
    width: 100%;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
}
