* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
}

.topbar {
  background: #c4170c;
  color: #fff;
  width: 100%;
}

.top-links {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.top-links-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  min-height: 46px;
  display: flex;
  gap: 16px;
  align-items: stretch;
  font-size: 16px;
  font-weight: 700;
  color: #456;
  transform: translateX(-36px);
}

.top-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 3px solid transparent;
}

.top-link:nth-child(1) { color: #0b7bbd; font-weight: 700; }
.top-link:nth-child(2) { color: #c4170c; font-weight: 700; }
.top-link:nth-child(3) { color: #2f9a48; font-weight: 700; }
.top-link:nth-child(4) { color: #c28817; font-weight: 700; }
.top-link:nth-child(5) { color: #c0186b; font-weight: 700; }
.top-link:nth-child(6) { color: #a23a2a; font-weight: 700; }
.top-link:nth-child(7) { color: #2f5378; font-weight: 700; }
.top-link:nth-child(8) { color: #1b7f72; font-weight: 700; }

.top-link:nth-child(1):hover { border-bottom-color: #0b7bbd; }
.top-link:nth-child(2):hover { border-bottom-color: #c4170c; }
.top-link:nth-child(3):hover { border-bottom-color: #2f9a48; }
.top-link:nth-child(4):hover { border-bottom-color: #c28817; }
.top-link:nth-child(5):hover { border-bottom-color: #c0186b; }
.top-link:nth-child(6):hover { border-bottom-color: #a23a2a; }
.top-link:nth-child(7):hover { border-bottom-color: #2f5378; }
.top-link:nth-child(8):hover { border-bottom-color: #1b7f72; }

.top-link.active {
  border-bottom-color: transparent;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 40px;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.header-editoria {
  margin: 0;
  color: #fff;
  font-size: 38px;
  letter-spacing: 0.2px;
  font-weight: 400;
  font-family: "Globotipo UI", "Globotipo", "Helvetica Neue", Arial, sans-serif;
}

.page {
  max-width: 700px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

.article,
.form-section {
  background: #fff;
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
}

.eyebrow {
  color: #c4170c;
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.subtitle {
  margin: 0 0 22px;
  color: #555;
  font-size: 20px;
}

.article-body p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.article-cta {
  margin-top: 24px;
}

.btn {
  display: inline-block;
  background: #c4170c;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.form-section {
  margin-top: 20px;
}

.form-section h2 {
  margin: 0 0 8px;
}

form {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 16px;
}

input:invalid:focus {
  border-color: #c4170c;
}

.error {
  color: #c4170c;
  min-height: 18px;
  margin: 6px 0;
  font-size: 14px;
}

.footer {
  text-align: center;
  padding: 0 16px 32px;
}

.footer a {
  color: #c4170c;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 768px) {
  .top-links-inner {
    transform: none;
    min-height: auto;
    padding: 8px 12px;
    gap: 10px;
    font-size: 14px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .top-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
  }

  .topbar-inner {
    padding: 12px 12px;
  }

  .logo {
    position: static;
    font-size: 30px;
    margin-right: 12px;
  }

  .header-editoria {
    font-size: 28px;
    line-height: 1;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    justify-content: flex-start;
    gap: 8px;
  }

  .logo {
    font-size: 24px;
    margin-right: 6px;
  }

  .header-editoria {
    font-size: 18px;
    letter-spacing: 0;
  }

  .page {
    margin-top: 14px;
    padding: 0 10px;
  }

  .article,
  .form-section {
    padding: 16px;
  }

  h1 {
    font-size: 26px;
  }

  .subtitle,
  .article-body p {
    font-size: 18px;
  }
}
