/* ============================================================
   REDIRECȚIONAȚI 20% PAGE — Title/breadcrumb + two-column
   content (prose) / sponsor form layout
   ============================================================ */

/* ── Title section ── */
.default-title-section {
  padding: 36px 0 0;
  background-color: var(--bg);
}

.default-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 56px);
  letter-spacing: var(--ls-30);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.default-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey-meta);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey);
}

.default-breadcrumb a {
  color: var(--grey-meta);
}

.default-breadcrumb-sep {
  color: var(--grey-meta);
}

.default-breadcrumb-current {
  color: var(--text);
}

/* ── Main content wrapper ── */
.default-content {
  padding: 40px 0 40px;
  background-color: var(--bg);
}

/* ── Two-column layout: prose text + sponsor form ── */
.redirect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 48px;
}

@media (max-width: 960px) {
  .redirect-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Body text (prose) ── */
.default-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.default-body h2 { margin: 0 0 14px; }
.default-body h3 { margin: 32px 0 12px; }

.default-body p {
  margin-bottom: 20px;
}

.default-body p:last-child {
  margin-bottom: 0;
}

.default-body strong {
  font-weight: 700;
}

.default-body ul,
.default-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.default-body ul {
  list-style: disc;
}

.default-body ol {
  list-style: decimal;
}

.default-body li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.default-body li::marker {
  color: var(--text);
  font-weight: 700;
}

.default-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.redirect-heading {
  text-align: left;
  font-size: clamp(20px, 2vw, 26px);
}

/* ── "3 pași" numbered list — inherits .default-body ol decimal styling ── */
.redirect-steps {
  margin-top: 4px;
}

/* ── Read more (collapsible) ── */
.redirect-readmore {
  margin-bottom: 20px;
}

.redirect-readmore-summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  user-select: none;
}

.redirect-readmore-summary::-webkit-details-marker {
  display: none;
}

.redirect-readmore-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.redirect-readmore-body {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}

/* Theme addition (not in html/css/redirectionati-20.css): the mockup's
   smooth open/close only works with the inline <script> from
   html/redirectionati-20.html setting `.redirect-readmore-body`'s height
   directly — not ported, same "layout only, native <details> instead of the
   animated JS" choice already made for cont.html's FAQ accordion (see
   `details[open] > .accordion-body` in cont.css). Without this the CSS
   default `height: 0` above would hide the body permanently even when open,
   since native <details> visibility and this height rule are independent.
   A later inline height would still win over this class rule if that JS
   ever gets ported. */
details[open] > .redirect-readmore-body {
  height: auto;
}

.redirect-readmore-body-inner {
  padding-top: 14px;
}

.redirect-readmore-body-inner > p:last-child {
  margin-bottom: 0;
}

/* ── Sponsor identification form (right column) ── */
.redirect-form-card {
  background-color: var(--surface);
  border: 1.5px solid var(--grey);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: 24px;
}

.redirect-form-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--grey);
}

.redirect-form-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: var(--ls-30);
  color: var(--text);
}

.redirect-form-subtext {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-meta);
}

.redirect-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.redirect-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redirect-form-group--full {
  grid-column: 1 / -1;
}

.redirect-form-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: var(--ls-25);
  text-transform: uppercase;
  color: var(--text);
}

.redirect-form-input {
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--grey);
  border-radius: 6px;
  background-color: var(--surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}

.redirect-form-input:focus {
  border-color: var(--red);
}

.redirect-form-checkbox-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-top: 4px;
}

.redirect-form-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}

.redirect-form-checkbox-row label {
  cursor: pointer;
}

.redirect-form-checkbox-row a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.redirect-form-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  background-color: var(--red);
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: var(--ls-30);
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity var(--transition);
}

.redirect-form-submit:hover {
  opacity: 0.88;
}

@media (max-width: 540px) {
  .redirect-form {
    grid-template-columns: 1fr;
  }

  .redirect-form-group {
    grid-column: 1 / -1;
  }
}
