/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #2563eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

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

.nav a {
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #2563eb;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-icon {
  color: #6b7280;
  cursor: pointer;
}

.btn-subscribe {
  background: #2563eb;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: #1d4ed8;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  color: #374151;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 200;
  padding: 24px;
  flex-direction: column;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #374151;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #f3f4f6;
  color: #2563eb;
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 24px;
}

.mobile-nav-cta .btn-subscribe {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  padding: 80px 48px;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1e3a5f;
}

.hero h1 span {
  color: #2563eb;
}

.hero p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Email Signup */
.email-signup {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.email-signup input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  min-width: 0;
}

.email-signup input:focus {
  outline: none;
  border-color: #2563eb;
}

.email-signup button {
  background: #2563eb;
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Sample Issue Link */
.sample-issue {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sample-issue a {
  color: #2563eb;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Key Metrics Section */
.section {
  padding: 48px;
  border-top: 1px solid #e5e7eb;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1e3a5f;
}

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

.metric-card {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.metric-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #1e3a5f;
}

.metric-value span {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.metric-change {
  font-size: 12px;
  margin-top: 4px;
}

.metric-change.positive {
  color: #10b981;
}

.metric-change.negative {
  color: #ef4444;
}

/* Today's Signal */
.signal-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.signal-item {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: box-shadow 0.2s;
}

.signal-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.tag.regulatory {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag.staffing {
  background: #fef3c7;
  color: #d97706;
}

.tag.operations {
  background: #d1fae5;
  color: #059669;
}

.tag.finance {
  background: #ede9fe;
  color: #7c3aed;
}

.signal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e3a5f;
}

.signal-excerpt {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.signal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
}

/* Recent Signal Section */
.recent-signal {
  background: #f9fafb;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.signal-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.signal-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e3a5f;
}

.signal-card-excerpt {
  font-size: 13px;
  color: #6b7280;
}

/* Testimonial Section */
.testimonial-section {
  padding: 48px;
  background: #fff;
}

.testimonial-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3a5f;
}

.testimonial-subtitle {
  color: #6b7280;
  margin-bottom: 32px;
}

.testimonial-card {
  background: #f9fafb;
  padding: 32px;
  border-radius: 12px;
  max-width: 600px;
}

.testimonial-quote {
  font-size: 16px;
  color: #374151;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 600;
  color: #1e3a5f;
}

.testimonial-role {
  font-size: 14px;
  color: #6b7280;
}

/* CTA Section */
.cta-section {
  background: #f9fafb;
  padding: 64px 48px;
  text-align: center;
}

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e3a5f;
}

.cta-text {
  color: #6b7280;
  margin-bottom: 24px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 450px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  min-width: 0;
}

.cta-form button {
  background: #2563eb;
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Footer */
.footer {
  padding: 48px;
  border-top: 1px solid #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e3a5f;
}

.footer-brand p {
  font-size: 14px;
  color: #6b7280;
  max-width: 280px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e3a5f;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #2563eb;
}

.footer-column p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #9ca3af;
}

/* Page Header */
.page-header {
  padding: 64px 48px 48px;
  max-width: 800px;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.6;
}

/* Data Page Specific */
.metrics-section {
  padding: 48px;
}

.metrics-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3a5f;
}

.metrics-section .subtitle {
  color: #6b7280;
  margin-bottom: 24px;
}

.metrics-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 48px;
  overflow-x: auto;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  padding: 16px;
  min-width: 140px;
}

.metric-item .label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.metric-item .value {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a5f;
}

.metric-item .value span {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.metric-item .change {
  font-size: 12px;
  margin-top: 4px;
}

.metric-item .change.up {
  color: #10b981;
}

.metric-item .change.down {
  color: #ef4444;
}

/* Regional Benchmarks Table */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.benchmarks-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  min-width: 500px;
}

.benchmarks-table th,
.benchmarks-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.benchmarks-table th {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
}

.benchmarks-table td {
  font-size: 14px;
  color: #374151;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-bar-fill {
  height: 8px;
  background: #2563eb;
  border-radius: 4px;
}

/* Methodology */
.methodology {
  padding: 48px;
  background: #f9fafb;
}

.methodology h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e3a5f;
}

.methodology p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
}

.methodology .update-info {
  font-size: 13px;
  color: #6b7280;
  margin-top: 24px;
}

/* Finance Page */
.market-snapshot {
  padding: 48px;
}

.snapshot-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.snapshot-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a5f;
}

.published-badge {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.snapshot-date {
  color: #6b7280;
  font-size: 13px;
}

.market-summary {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
}

.overall-market {
  font-size: 18px;
  margin-bottom: 24px;
}

.overall-market span {
  font-weight: 600;
}

.overall-market .positive {
  color: #10b981;
}

.overall-market .negative {
  color: #ef4444;
}

.market-indicators {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 32px;
}

.indicator {
  text-align: center;
}

.indicator-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.indicator-value {
  font-size: 14px;
  font-weight: 600;
}

.indicator-value.positive {
  color: #10b981;
}

.indicator-value.negative {
  color: #ef4444;
}

/* Companies Section */
.companies-section {
  padding: 48px;
  border-top: 1px solid #e5e7eb;
}

.companies-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e3a5f;
}

.category-title {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  margin: 32px 0 16px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.company-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.company-name {
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 4px;
}

.company-ticker {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.company-desc {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 13px;
}

.company-stat {
  display: flex;
  justify-content: space-between;
}

.company-stat .label {
  color: #6b7280;
}

.company-stat .value {
  font-weight: 500;
}

.company-stat .value.positive {
  color: #10b981;
}

.company-stat .value.negative {
  color: #ef4444;
}

/* Market Movers */
.market-movers {
  padding: 48px;
  background: #f9fafb;
}

.market-movers h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e3a5f;
}

.movers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.movers-column h3 {
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 16px;
}

.movers-column h3.decliners {
  color: #ef4444;
}

.mover-item {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.mover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.mover-name {
  font-weight: 500;
}

.mover-change.positive {
  color: #10b981;
  font-weight: 600;
}

.mover-change.negative {
  color: #ef4444;
  font-weight: 600;
}

.mover-desc {
  font-size: 13px;
  color: #6b7280;
}

/* Newsletter Page */
.newsletter-list {
  padding: 48px;
}

.newsletter-item {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
}

.newsletter-icon {
  width: 40px;
  height: 40px;
  background: #dbeafe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.newsletter-icon svg {
  color: #2563eb;
}

.newsletter-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.newsletter-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.newsletter-stories h4 {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.newsletter-stories ul {
  list-style: none;
  margin-bottom: 16px;
}

.newsletter-stories li {
  font-size: 13px;
  color: #6b7280;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.newsletter-stories li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2563eb;
}

.read-issue {
  color: #2563eb;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sample Newsletter */
.sample-newsletter {
  padding: 48px;
  background: #f9fafb;
}

.sample-newsletter h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e3a5f;
}

.sample-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  max-width: 600px;
}

.sample-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sample-avatar {
  width: 48px;
  height: 48px;
  background: #e5e7eb;
  border-radius: 50%;
  flex-shrink: 0;
}

.sample-title {
  font-weight: 600;
  color: #1e3a5f;
}

.sample-date {
  font-size: 13px;
  color: #6b7280;
}

.sample-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.sample-content ul {
  list-style: none;
}

.sample-content li {
  font-size: 13px;
  color: #6b7280;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.sample-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2563eb;
}

.view-archive {
  color: #2563eb;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* About Page */
.about-content {
  padding: 48px;
  max-width: 800px;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #1e3a5f;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.about-content li {
  color: #4b5563;
  margin-bottom: 8px;
}

.about-content li strong {
  color: #1e3a5f;
}

/* Editorial Standards Box */
.editorial-box {
  background: #f9fafb;
  padding: 32px;
  border-radius: 12px;
  margin: 32px 0;
}

.editorial-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e3a5f;
}

.editorial-box p {
  margin-bottom: 12px;
}

.editorial-box a {
  color: #2563eb;
  font-weight: 500;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.trust-badge svg {
  color: #10b981;
  flex-shrink: 0;
}

/* SNF Finder Page */
.finder-section {
  padding: 48px;
}

.finder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.search-input {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.sort-select {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.finder-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.map-container {
  background: #e5e7eb;
  border-radius: 12px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 14px;
  min-height: 300px;
}

.results-panel {
  max-height: 500px;
  overflow-y: auto;
}

.results-header {
  margin-bottom: 16px;
}

.results-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
}

.results-count {
  font-size: 13px;
  color: #6b7280;
}

.facility-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
}

.facility-name {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 4px;
}

.facility-address {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.facility-stat {
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.facility-stat .label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.facility-stat .value {
  font-size: 20px;
  font-weight: 700;
  color: #2563eb;
}

.facility-stat .value.warning {
  color: #f59e0b;
}

.facility-stat .sub {
  font-size: 11px;
  color: #6b7280;
}

.facility-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.detail-item .label {
  font-size: 11px;
  color: #6b7280;
}

.detail-item .value {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

/* ==================== */
/* RESPONSIVE STYLES    */
/* ==================== */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .header {
    padding: 16px 32px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  .hero {
    padding: 60px 32px;
  }

  .section {
    padding: 40px 32px;
  }

  .metrics-grid,
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-grid,
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .finder-layout {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 350px;
  }

  .results-panel {
    max-height: none;
  }

  .market-indicators {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-header {
    padding: 48px 32px 40px;
  }

  .cta-section {
    padding: 48px 32px;
  }

  .cta-box {
    padding: 32px;
  }

  .footer {
    padding: 40px 32px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .header {
    padding: 12px 20px;
  }

  .logo-text {
    display: none;
  }

  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-right .search-icon {
    display: none;
  }

  .header-right .btn-subscribe {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 32px 20px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .metrics-grid,
  .metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .metric-card {
    padding: 16px;
  }

  .metric-value {
    font-size: 24px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-item {
    padding: 20px;
  }

  .signal-title {
    font-size: 16px;
  }

  .companies-grid {
    grid-template-columns: 1fr;
  }

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

  .market-indicators {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }

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

  .footer-brand {
    margin-bottom: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .email-signup,
  .cta-form {
    flex-direction: column;
  }

  .email-signup button,
  .cta-form button {
    width: 100%;
  }

  .page-header {
    padding: 32px 20px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-box {
    padding: 24px;
  }

  .cta-title {
    font-size: 20px;
  }

  .testimonial-section {
    padding: 32px 20px;
  }

  .testimonial-title {
    font-size: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .footer {
    padding: 32px 20px;
  }

  /* Data page */
  .metrics-section {
    padding: 32px 20px;
  }

  .metrics-box {
    padding: 16px;
  }

  .metric-item {
    padding: 12px;
  }

  .metric-item .value {
    font-size: 22px;
  }

  .methodology {
    padding: 32px 20px;
  }

  /* Finance page */
  .market-snapshot {
    padding: 32px 20px;
  }

  .companies-section {
    padding: 32px 20px;
  }

  .market-movers {
    padding: 32px 20px;
  }

  /* Newsletter page */
  .newsletter-list {
    padding: 32px 20px;
  }

  .newsletter-title {
    font-size: 16px;
  }

  .sample-newsletter {
    padding: 32px 20px;
  }

  .sample-card {
    padding: 20px;
  }

  /* About page */
  .about-content {
    padding: 32px 20px;
  }

  .about-content h2 {
    font-size: 20px;
  }

  .editorial-box {
    padding: 20px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 16px;
  }

  /* SNF Finder page */
  .finder-section {
    padding: 32px 20px;
  }

  .finder-controls {
    flex-direction: column;
  }

  .search-input {
    max-width: none;
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .finder-layout {
    gap: 24px;
  }

  .map-container {
    height: 280px;
  }

  .facility-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .facility-stat .value {
    font-size: 18px;
  }

  .facility-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small phones */
@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }

  .header-right .btn-subscribe {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 32px 16px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .section {
    padding: 24px 16px;
  }

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

  .metrics-grid,
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 16px;
  }

  .metric-value {
    font-size: 28px;
  }

  .signal-item {
    padding: 16px;
  }

  .signal-title {
    font-size: 15px;
  }

  .signal-excerpt {
    font-size: 13px;
  }

  .market-indicators {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .indicator-label {
    font-size: 11px;
  }

  .page-header {
    padding: 24px 16px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .page-header p {
    font-size: 15px;
  }

  .cta-section {
    padding: 32px 16px;
  }

  .cta-box {
    padding: 20px;
  }

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

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

  .footer {
    padding: 24px 16px;
  }

  .footer-brand h3 {
    font-size: 16px;
  }

  /* Data page */
  .metrics-section {
    padding: 24px 16px;
  }

  .metrics-section h2 {
    font-size: 20px;
  }

  .metric-item .value {
    font-size: 20px;
  }

  .methodology {
    padding: 24px 16px;
  }

  .methodology h2 {
    font-size: 20px;
  }

  /* Finance page */
  .market-snapshot {
    padding: 24px 16px;
  }

  .snapshot-header h2 {
    font-size: 18px;
  }

  .overall-market {
    font-size: 16px;
  }

  .companies-section {
    padding: 24px 16px;
  }

  .company-card {
    padding: 16px;
  }

  .market-movers {
    padding: 24px 16px;
  }

  /* Newsletter page */
  .newsletter-list {
    padding: 24px 16px;
  }

  .newsletter-item {
    padding: 16px;
  }

  .newsletter-title {
    font-size: 15px;
  }

  .sample-newsletter {
    padding: 24px 16px;
  }

  /* About page */
  .about-content {
    padding: 24px 16px;
  }

  .about-content h2 {
    font-size: 18px;
  }

  .editorial-box {
    padding: 16px;
  }

  .editorial-box h3 {
    font-size: 16px;
  }

  /* SNF Finder page */
  .finder-section {
    padding: 24px 16px;
  }

  .map-container {
    height: 240px;
  }

  .facility-card {
    padding: 16px;
  }

  .facility-name {
    font-size: 14px;
  }

  .facility-stats {
    grid-template-columns: 1fr;
  }

  .facility-stat .value {
    font-size: 16px;
  }

  .facility-details {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .testimonial-section {
    padding: 24px 16px;
  }

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

  .testimonial-card {
    padding: 16px;
  }

  .testimonial-quote {
    font-size: 14px;
  }
}

/* Utility classes for responsiveness */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}
