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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}

header .brand img {
  height: 180px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

main {
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

#hero {
  padding: 40px 0;
}

#hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 10px;
  border: 1px solid #222;
  color: #222;
}

.btn-primary {
  background: #222;
  color: #fff;
}

section + section {
  margin-top: 40px;
}

footer {
  padding: 40px;
  text-align: center;
  color: #777;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.card {
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 16px;
}
.breadcrumb {
  font-size: 0.9rem;
  margin: 1rem 0;
  color: #666;
}

.breadcrumb a {
  color: #444;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
/* Linear navigation for v1 pages */
.nav-linear {
  padding: 0 !important;
  margin: 2rem auto;
  max-width: 960px;
  display: flex;
  justify-content: space-between;
}


.nav-linear.single {
  justify-content: flex-end;
}

.nav-linear a {
  text-decoration: none;
  color: #444;
}

.nav-linear a:hover {
  text-decoration: underline;
}
/* For index page: single link aligned RIGHT */
.nav-linear.next-only {
  justify-content: flex-end;
}

/* For last page: single link aligned LEFT */
.nav-linear.prev-only {
  justify-content: flex-start;
}
nav.nav-linear a {
  margin-left: 0;
}
/* Homepage hero logo */
#crtpt-logo.logo-home {
  width: 720px;   /* or whatever looks perfect */
  height: auto;
}

/* Subpage compact logo */
#crtpt-logo.logo-subpage {
  width: 240px;   /* smaller, tighter */
  height: auto;
}


