/* Base styles */
html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Roboto', system-ui, Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.7;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: #222;
  text-decoration: none;
  gap: 0.5rem;
}
.logo img {
  display: block;
  height: 40px;
  width: 40px;
}
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.nav-list a:hover {
  color: #0072e6;
}

/* Footer */
.site-footer {
  background: #fafbfc;
  border-top: 1px solid #eee;
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #0072e6;
}

/* Article Content */
.article-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 2.5rem 2rem 2.5rem 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.article-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
.article-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a3a5d;
  border-left: 4px solid #0072e6;
  padding-left: 0.7rem;
  background: #f6fafd;
}
.article-content h2 a {
  color: #2563eb;
  text-decoration: none !important;
  transition: text-decoration 0.15s, color 0.15s;
}
.article-content h2 a:hover,
.article-content h2 a:focus {
  text-decoration: underline !important;
  color: #1742b5;
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.7rem;
  margin-bottom: 0.7rem;
  color: #0072e6;
}
.article-content p, .article-content ol, .article-content ul {
  margin-bottom: 1.1rem;
}
.article-content ol, .article-content ul {
  padding-left: 1.5rem;
}
.article-content strong {
  color: #1a3a5d;
}

/* Hero Image & Figures */
.hero-image {
  margin-bottom: 2rem;
}
.article-content figure {
  margin: 2rem 0;
  text-align: center;
}
.article-content figure img {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #eee;
  max-width: 100%;
  height: auto;
}
.article-content figcaption {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Code Blocks & Command Boxes */
.code-box {
  background: #f6fafd;
  border-left: 4px solid #0072e6;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: 1.05rem;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.code-box pre {
  margin: 0;
  background: none;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 1.05rem;
  color: #1a3a5d;
}
.code-box code {
  background: none;
  color: #1a3a5d;
  font-size: 1.05rem;
}

/* CTA Box */
.cta-box {
  background: #eaf6ff;
  border: 1px solid #b3e0ff;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 2.5rem 0 1.5rem 0;
  font-size: 1.1rem;
  color: #1a3a5d;
  box-shadow: 0 2px 8px rgba(0,114,230,0.07);
}
.cta-box a {
  color: #0072e6;
  font-weight: 600;
  text-decoration: underline;
}

/* Button */
.btn-download {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 0.95em 2.2em;
  border-radius: 2em;
  box-shadow: 0 2px 12px rgba(37,99,235,0.10);
  text-decoration: none;
  margin: 1.2em 0 0.7em 0;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}
.btn-download:hover, .btn-download:focus {
  background: #1742b5;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,99,235,0.18);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 800px) {
  .container {
    padding: 0 0.7rem;
  }
  .article-content {
    padding: 1.2rem 0.5rem;
  }
  .header-flex, .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-list, .footer-nav {
    gap: 1rem;
  }
  .article-content h1 {
    font-size: 2rem;
  }
  .article-content h2 {
    font-size: 1.2rem;
    padding-left: 0.4rem;
  }
}

a[href*='dnsserverfix.com'] {
  color: #1e4ed8 !important;
  text-decoration: none;
  transition: color 0.15s;
}
a[href*='dnsserverfix.com']:hover,
a[href*='dnsserverfix.com']:focus {
  color: #153a9b !important;
  text-decoration: underline;
} 