/* seo.css */

.seo-hub-header {
  padding: 4rem 1rem;
  background: var(--bg-shade);
  text-align: center;
}

.seo-hub-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.seo-hub-summary {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.seo-symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-symptom-card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.seo-symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.seo-symptom-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.seo-symptom-page {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.seo-symptom-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.seo-symptom-page h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-symptom-page p, .seo-symptom-page ul {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.seo-symptom-page ul {
  padding-left: 1.5rem;
}

.seo-cta-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-shade);
  border-radius: 8px;
  text-align: center;
}

.seo-breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.seo-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.seo-language-selector {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--bg-shade);
  border-radius: 8px;
}

.seo-language-selector ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

[dir="rtl"] .seo-symptom-page ul {
  padding-right: 1.5rem;
  padding-left: 0;
}

/* Scoped CTA Styles */
.seo-cta-section .home-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  margin: 0.5rem;
  background-color: var(--text-color, #1a1a1a);
  color: var(--bg-color, #ffffff);
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.seo-cta-section .home-store-button.primary {
  background-color: var(--primary-color, #0a84ff);
  color: #ffffff;
}

.seo-cta-section .home-store-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seo-cta-section .home-store-button:focus-visible {
  outline: 2px solid var(--primary-color, #0a84ff);
  outline-offset: 2px;
}

.seo-cta-section .home-store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.seo-cta-section .home-store-button span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

[dir="rtl"] .seo-cta-section .home-store-button span {
  align-items: flex-end;
}

.seo-cta-section .home-store-button small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 2px;
}

@media (max-width: 760px) {
  .seo-hub-header h1 { font-size: 2rem; }
  .seo-symptom-page h1 { font-size: 2rem; }
  
  .seo-cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .seo-cta-section .home-store-button {
    width: 100%;
    margin: 0;
  }
}
