.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

figure {
  max-width: 100%;
  margin: 2rem 0;
}

figure img {
  max-width: 100%;
  height: auto;
}
/* RF Propagation Tools - Branding Colors */
:root {
  --primary-blue: #2E5090;
  --accent-teal: #00BCD4;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #fff;
  --bg-gray: #f5f5f5;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

/* Images */
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

figure {
  max-width: 100%;
  margin: 2rem 0;
}

figure img {
  max-width: 100%;
  height: auto;
}

figcaption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-blue);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Links */
a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Strong markdown links (CTA buttons) */
strong a {
  padding: 0.75rem 1.5rem;
  background: var(--accent-teal);
  color: white;
  border-radius: 5px;
  display: inline-block;
  margin: 1rem 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

strong a:hover {
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Headings with accent underline */
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-teal);
  margin: 0.5rem 0 0 0;
}

h3 {
  color: var(--primary-blue);
}

/* Code blocks */
code {
  background: var(--bg-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.95rem;
  color: #d63384;
}

pre {
  background: var(--bg-gray);
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1rem 0;
  border-left: 4px solid var(--accent-teal);
}

pre code {
  background: none;
  padding: 0;
  color: var(--text-dark);
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--accent-teal);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

/* Horizontal rules */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  margin: 2rem 0;
}

/* Container & Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a5f 100%);
  color: white;
  padding: 1rem 2rem;
}

header a {
  color: white;
}

header a:hover {
  color: var(--accent-teal);
  text-decoration: none;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

/* Footer */
footer {
  background: var(--bg-gray);
  border-top: 2px solid var(--accent-teal);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  color: var(--text-light);
}

footer a {
  color: var(--accent-teal);
}

footer a:hover {
  color: var(--primary-blue);
}

/* Content sections */
.content {
  padding: 2rem 0;
}

section {
  margin: 3rem 0;
}

/* Feature cards */
.feature {
  padding: 1.5rem;
  background: var(--bg-gray);
  border-radius: 8px;
  border-left: 4px solid var(--accent-teal);
  margin: 1.5rem 0;
}

.feature h3 {
  margin-top: 0;
}

/* Buttons */
button, .btn {
  background: var(--accent-teal);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover, .btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  nav {
    gap: 1rem;
    flex-direction: column;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
}