body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

header {
  background: #111;
  color: white;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
}

nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.hero {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.home-hero {
  padding: 42px;
}

.home-hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 760px;
}

.home-hero p {
  max-width: 720px;
}

.eyebrow {
  color: #555;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.home-strip div {
  border-left: 4px solid #111;
  padding: 8px 0 8px 14px;
}

.home-strip strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.home-strip span {
  color: #555;
  font-weight: bold;
}

.section-heading {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading a {
  color: #111;
  font-weight: bold;
  text-decoration: none;
}

.btn {
  display: inline-block;
  background: #111;
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-btn {
  background: white;
  color: #111;
  border: 1px solid #111;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
}

.card a {
  color: #111;
  font-weight: bold;
}

.breadcrumbs {
  font-size: 14px;
  margin: 0 0 15px;
  color: #666;
}

.breadcrumbs a {
  color: #111;
  font-weight: bold;
  text-decoration: none;
}

.breadcrumbs span {
  margin-right: 6px;
}

.internal-links h2,
.quick-links h2 {
  margin-top: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.link-group h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.link-group ul {
  margin: 0;
  padding-left: 20px;
}

.link-group li {
  margin-bottom: 8px;
}

.link-group a,
.pill-links a {
  color: #111;
  font-weight: bold;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-links a {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 9px 12px;
  text-decoration: none;
  background: #fafafa;
}

.blog-post section:not(.hero) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post p {
  font-size: 17px;
}

section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.resume-paper {
  background: white;
  max-width: 700px;
  margin: auto auto 20px auto;
  padding: 40px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.resume-paper h2 {
  text-align: center;
  margin-bottom: 5px;
}

.resume-paper h3 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-top: 25px;
}

.ad-box {
  text-align: center;
  background: #eee;
  color: #777;
  padding: 30px;
  border: 1px dashed #bbb;
}

footer {
  text-align: center;
  padding: 30px;
  color: #777;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer-links a {
  color: #555;
  font-weight: bold;
  text-decoration: none;
}

.content-page {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.content-page p {
  font-size: 17px;
}
.search-box {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.search-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.search-box button {
  padding: 12px 18px;
  background: #111;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 700px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    display: inline-block;
    margin: 0 12px 8px 0;
  }

  .search-box {
    flex-direction: column;
  }

  .home-hero {
    padding: 28px;
  }

  .home-hero h1 {
    font-size: 30px;
  }

  .home-strip {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
.template-image {
  text-align: center;
}

.resume-preview {
  background: white;
  width: 360px;
  min-height: 520px;
  margin: 20px auto;
  padding: 30px;
  text-align: left;
  border: 1px solid #ddd;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.preview-header {
  text-align: center;
  border-bottom: 2px solid #111;
  margin-bottom: 20px;
  padding-bottom: 15px;
}

.preview-header h2 {
  margin: 0;
  font-size: 26px;
}

.preview-header p {
  margin: 5px 0 0;
  font-weight: bold;
}

.preview-section {
  margin-bottom: 18px;
}

.preview-section h3 {
  font-size: 16px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.preview-section ul {
  padding-left: 20px;
}

.document-preview {
  background: white;
  max-width: 760px;
  margin: auto auto 20px auto;
  padding: 35px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.preview-header-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.preview-header-row h2 {
  margin: 0;
}

.copy-btn {
  background: #111;
  border: 1px solid #111;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 9px 12px;
}

.copy-btn:disabled {
  cursor: default;
  opacity: 0.75;
}

.document-preview pre {
  white-space: pre-wrap;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 520px) {
  .preview-header-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
