
:root {
  --primary-color: #000000;
  --secondary-color: #f4f4f4;
  --accent-color: #116dff; /* Wix-like blue */
  --accent-hover: #0a58d6;
  --text-primary: #1a1b1e;
  --text-secondary: #5c5f66;
  --bg-color: #ffffff;
  --bg-offset: #f8f9fa;
  --border-color: #e5e7eb;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #333;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-offset) 0%, var(--bg-color) 100%);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #111, #555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Articles Grid */
.articles-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 48px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}

.article-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.article-image {
  height: 200px;
  background-color: var(--bg-offset);
  position: relative;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

.article-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.article-card:hover .read-more::after {
  transform: translateX(4px);
}

/* Single Article Layout */
.article-header {
  padding: 80px 0 40px;
  text-align: center;
  background-color: var(--bg-offset);
  margin-bottom: 60px;
}

.article-header h1 {
  font-size: 3.5rem;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.1;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.article-body h2 {
  font-size: 2rem;
  margin: 48px 0 24px;
}

.article-body h3 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.article-body p {
  margin-bottom: 24px;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  font-size: 1.125rem;
}

.article-body li {
  margin-bottom: 8px;
}

/* The Offer Block (Masked Service) */
.offer-block {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.offer-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
}

.offer-block h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  margin-top: 0;
}

.offer-block p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  color: #a0a0a0;
  font-size: 0.95rem;
}

.footer-column ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  text-align: center;
  color: #a0a0a0;
  font-size: 0.875rem;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); }
.brand-symbol { display: inline-flex; gap: 3px; align-items: end; padding: 8px; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-color); }
.brand-symbol i { width: 4px; height: 14px; background: white; }
.brand-symbol i:nth-child(2) { height: 9px; }
.brand-symbol i:nth-child(3) { height: 18px; }
.skip-link { position: absolute; left: 16px; top: -80px; background: white; padding: 12px; z-index: 999; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 4px; }
.eyebrow { text-transform: uppercase; font-size: .75rem !important; font-weight: 650; letter-spacing: .12em; color: var(--accent-color) !important; margin-bottom: 16px !important; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-heading h2 { font-size: 2.5rem; }
.section-heading .read-more { flex-shrink: 0; }
.article-card h2 { font-size: 1.25rem; margin-bottom: 14px; }
.article-card h2 a, .article-card h3 a { color: var(--text-primary); }
.category-label { font-size: .75rem; font-weight: 650; color: var(--accent-color); margin-bottom: 14px; }
.direction-number { font-size: 2rem; color: var(--accent-color); margin-bottom: 14px; }
.directions-section { background: var(--bg-offset); padding: 80px 0; }
.directions-section > .container > .eyebrow { text-align: center; }
.availability-note { padding: 24px; margin-top: 36px; border-left: 3px solid var(--accent-color); background: white; color: var(--text-secondary); font-size: .94rem; }
.page-intro { padding: 64px 0 44px; }
.page-intro h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.page-intro p { max-width: 760px; color: var(--text-secondary); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--border-color); border-radius: 8px; }
.pagination [aria-current] { background: var(--primary-color); color: white; }
.updated { font-size: .85rem !important; color: var(--text-secondary) !important; margin: 16px 0; }
.article-header .updated { padding-bottom: 24px; }
.article-body { overflow-wrap: anywhere; }
.article-body > :last-child { margin-bottom: 0; }
.article-body blockquote { border-left: 3px solid var(--accent-color); padding: 16px 24px; margin: 24px 0; background: var(--bg-offset); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { overflow-x: auto; background: #f4f4f4; padding: 20px; border-radius: 10px; margin: 24px 0; white-space: pre-wrap; }
.article-body code { font-family: Consolas, monospace; font-size: .9em; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 8px; }
.article-body figure { margin: 24px 0; }
.article-body figcaption { font-size: .85rem; color: var(--text-secondary); }
.article-body table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-body th, .article-body td { border: 1px solid var(--border-color); text-align: left; padding: 10px 14px; }
.article-next { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border-color); margin-top: 48px; padding-top: 24px; font-size: .9rem; }
.footer-name { font-size: 1.125rem; color: white; margin-bottom: 24px; }
.footer-description { color: #a0a0a0; max-width: 480px; }
.search-form { max-width: 800px; margin: 32px 0; }
.search-form label { display: block; font-size: .875rem; margin-bottom: 8px; }
.search-row { display: flex; gap: 12px; }
.search-row input { min-width: 0; flex: 1; border: 1px solid #b7bdc7; padding: 14px 16px; border-radius: 8px; font: inherit; }
.search-results { max-width: 850px; }
.search-results article { padding: 28px 0; border-bottom: 1px solid var(--border-color); }
.search-results h2 { font-size: 1.35rem; margin-bottom: 12px; }
.sitemap-list { padding-left: 20px; }
.sitemap-list li { margin: 16px 0; }
.sitemap-list time { display: block; font-size: .85rem; color: var(--text-secondary); }
.error-page { min-height: 55vh; text-align: center; }
.error-page p { margin: 0 auto 28px; }
@media (max-width: 800px) {
  .header-content { height: auto; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; gap: 16px; }
  .header-cta { display: none; }
  .nav-links { gap: 20px; }
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 3.2rem); }
  .hero p { font-size: 1.1rem; }
  .articles-section, .directions-section { padding: 52px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2, .section-title { font-size: 2rem; }
  .article-header { padding: 48px 0 24px; margin-bottom: 36px; }
  .article-header h1 { font-size: clamp(1.9rem, 6vw, 2.7rem); }
  .article-header p { font-size: 1rem !important; }
  .article-body h2 { font-size: 1.6rem; }
  .article-body h3 { font-size: 1.3rem; }
  .article-body p, .article-body ul, .article-body ol { font-size: 1rem; }
  .offer-block { padding: 24px; }
  .article-next { flex-direction: column; }
  .footer-content { margin-bottom: 32px; }
}
@media (max-width: 420px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; }
  .hero h1 br { display: none; }
  .search-row { flex-direction: column; }
}
