/* Native, editable enterprise page. All presentation stays inside its wrapper. */
.apd-enterprise {
  clear: both;
  max-width: 1188px;
  margin: 40px auto 64px;
  padding: 0 24px;
  color: #435061;
  font: 400 18px/1.65 Karla, Arial, sans-serif;
  overflow-wrap: break-word;
}
.apd-enterprise * { box-sizing: border-box; }
.apd-enterprise h2,
.apd-enterprise h3 {
  color: #354638;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}
.apd-enterprise h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.3; }
.apd-enterprise h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.45; }
.apd-enterprise p { margin: 0 0 20px !important; }
.apd-enterprise .apd-enterprise-kicker {
  margin: 0 0 16px !important;
  color: #a13c11;
  font: 700 12px/1.6 Montserrat, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.apd-enterprise-intro {
  padding: 38px 40px;
  border-top: 4px solid #e74804;
  background: #f4f5f0;
}
.apd-enterprise-intro h2 { max-width: 850px; font-size: clamp(28px, 3.1vw, 38px); line-height: 1.25; }
.apd-enterprise .apd-enterprise-lead { max-width: 850px; font-size: 20px; }
.apd-enterprise-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* WordPress may add line breaks between editable links; flex controls spacing. */
.apd-enterprise-nav > br,
.apd-enterprise-path-actions > br,
.apd-enterprise-next-links > br { display: none; }
.apd-enterprise-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #aeb9a9;
  color: #354638;
  background: #fff;
  font: 700 16px/1.5 Karla, Arial, sans-serif;
  text-decoration: none;
}
.apd-enterprise-nav a:hover { border-color: #354638; background: #e8eee3; color: #354638; }
.apd-enterprise-nav span { flex: none; }
.apd-enterprise-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 30px; }
.apd-enterprise-path {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid #dfe3dc;
  border-top: 3px solid #70856c;
  background: #fff;
  scroll-margin-top: 28px;
}
.apd-enterprise-path > .apd-enterprise-kicker { display: flex; align-items: center; gap: 12px; }
.apd-enterprise-number { color: #70856c; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.apd-enterprise-prepare { margin: 4px 0 24px; padding: 22px; background: #f7f8f4; }
.apd-enterprise-prepare ul { margin: 0 !important; padding: 0 0 0 20px; list-style: disc; }
.apd-enterprise-prepare li { margin: 0 0 8px; padding: 0; font-size: 17px; line-height: 1.6; }
.apd-enterprise-prepare li:last-child { margin-bottom: 0; }
.apd-enterprise-path-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; }
.apd-enterprise .apd-enterprise-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  max-width: 100%;
  padding: 12px 18px;
  border: 2px solid #b9430a;
  background: #b9430a;
  color: #fff;
  font: 700 17px/1.45 Karla, Arial, sans-serif;
  text-align: left;
  text-decoration: none;
}
.apd-enterprise-path-actions > .apd-enterprise-button { width: 100%; margin-bottom: 8px; }
.apd-enterprise-button span { flex: none; }
.apd-enterprise .apd-enterprise-button:hover { border-color: #963607; background: #963607; color: #fff; }
.apd-enterprise .apd-enterprise-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #a13c11;
  font: 700 16px/1.5 Karla, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.apd-enterprise .apd-enterprise-text-link:hover { color: #354638; }
.apd-enterprise-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; margin-top: 30px; padding: 30px 34px; border-left: 3px solid #70856c; background: #f4f5f0; }
.apd-enterprise-next h2 { font-size: 25px; }
.apd-enterprise .apd-enterprise-note { margin-bottom: 0 !important; font-size: 16px; line-height: 1.6; }
.apd-enterprise-next-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.apd-enterprise .apd-enterprise-button-outline { background: transparent; color: #a13c11; }
.apd-enterprise a:focus-visible { outline: 3px solid #354638; outline-offset: 4px; }
@media (max-width: 991px) {
  .apd-enterprise-intro { padding: 30px; }
  .apd-enterprise-path { padding: 24px; }
  .apd-enterprise-path h2 { font-size: 25px; }
  .apd-enterprise-next { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .apd-enterprise { margin: 24px auto 40px; padding: 0 18px; font-size: 17px; }
  .apd-enterprise-intro { padding: 24px; }
  .apd-enterprise-intro h2 { font-size: 28px; }
  .apd-enterprise .apd-enterprise-lead { font-size: 18px; }
  .apd-enterprise-nav { flex-direction: column; }
  .apd-enterprise-nav a { width: 100%; }
  .apd-enterprise-paths { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .apd-enterprise-path { padding: 24px; }
  .apd-enterprise-prepare { padding: 18px; }
  .apd-enterprise-next { padding: 24px; margin-top: 24px; }
  .apd-enterprise-next h2 { font-size: 24px; }
}
@media (max-width: 380px) {
  .apd-enterprise-intro, .apd-enterprise-path, .apd-enterprise-next { padding: 20px; }
  .apd-enterprise-intro h2 { font-size: 26px; }
  .apd-enterprise .apd-enterprise-button { padding: 12px 14px; }
}

/* The revised native page uses the shared mission layout. Keep the older
   wrapper styles above until the editorial revision has been saved. */
.apd-enterprise-mission .apd-actions > br,
.apd-enterprise-mission .apd-toc > br { display: none; }
.apd-enterprise-mission .apd-enterprise-support {
  margin-top: 42px;
  font-size: 16px;
}
.apd-enterprise-mission .apd-enterprise-support h2 { font-size: 23px; }
.apd-enterprise-mission .apd-enterprise-support > :last-child { margin-bottom: 0; }

.apd-enterprise-mission .apd-toc .apd-enterprise-support-link { font-weight: 400; }
