/* Mortgage Q&A — shares glossary hero tokens; not a glossary-page (no search/back-to-top). */
.mortgage-questions-page .mq-intro {
  max-width: 42rem;
  margin: 0;
  color: #c5d5dc;
}
body.mortgage-questions-page .mq-disclosure-bar .glossary-meta-inner {
  width: 100%;
  max-width: none;
}
body.mortgage-questions-page .mq-disclosure {
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
  width: 100%;
  text-align: center;
  text-wrap: pretty;
}
.mq-body {
  padding-bottom: 48px;
}
.mq-category {
  margin-top: 2rem;
}
.mq-category__title {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin: 0 0 1rem;
}
.mq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.mq-item__row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 4px 4px 4px 0;
}
.mq-details {
  flex: 1;
  min-width: 0;
}
.mq-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 8px 12px 12px;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  font-weight: 650;
}
.mq-toggle::-webkit-details-marker {
  display: none;
}
.mq-toggle::marker {
  content: '';
}
.mq-question-text {
  flex: 1;
  line-height: 1.4;
}
.mq-chevron.lang-switch__caret {
  flex: none;
  margin-top: 0.35em;
  transform: rotate(-45deg);
}
.mq-item[data-open='true'] .mq-chevron.lang-switch__caret,
.mq-details[open] .mq-chevron.lang-switch__caret {
  margin-top: 0.5em;
  transform: rotate(45deg);
}
html[lang='he'] .mq-item:not([data-open='true']) .mq-chevron.lang-switch__caret {
  transform: rotate(135deg);
}
.mq-copy {
  flex: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  margin-inline-end: 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
}
.mq-copy:hover {
  color: var(--ink);
  background: #f4f6f1;
}
.mq-copy-icon {
  display: block;
  width: 22px;
  height: 22px;
}
.mq-panel {
  padding: 0 16px 16px 44px;
}
html[lang='he'] .mq-panel {
  padding: 0 44px 16px 16px;
}
.mq-answer p {
  margin: 0 0 0.75rem;
  max-width: 68ch;
}
.mq-answer p:last-child {
  margin-bottom: 0;
}
body.mortgage-questions-page .mq-answer a.mq-answer-link {
  display: inline;
  color: var(--navy2);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}
body.mortgage-questions-page .mq-answer a.mq-answer-link:hover {
  color: var(--navy);
}
.mq-sources {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.mq-sources__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.mq-sources__list {
  margin: 0;
  padding-inline-start: 1.2rem;
}
.mq-sources__list a {
  color: var(--navy2);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
body.mortgage-questions-page .checklist-site-footer {
  background: var(--navy);
  padding: 45px 0;
}
body.mortgage-questions-page .checklist-site-footer .site-footer {
  border-top: none;
  padding-top: 0;
}
.mq-contact-cta {
  margin-top: 2.5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--pale);
}
.mq-contact-cta__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.mq-contact-cta__body {
  margin: 0 0 1.25rem;
  max-width: 68ch;
}
/* Physical end: right in LTR (EN/RU), left in RTL (HE). */
.mq-contact-cta__actions {
  display: flex;
  justify-content: flex-end;
}
html[lang='he'] .mq-contact-cta__title,
html[lang='he'] .mq-contact-cta__body {
  text-align: start;
}
.mq-copy-status {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  margin: 0;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(16, 37, 53, 0.25);
  pointer-events: none;
}
html[dir='rtl'] .mq-copy-status {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
.mq-enhanced .mq-copy {
  display: inline-flex;
}
html:not(.mq-enhanced) .mq-copy {
  display: none;
}
@keyframes mq-border-pulse {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: none;
  }
  50% {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(164, 207, 57, 0.35);
  }
}
.mq-item.mq-arrival-highlight {
  animation: mq-border-pulse 1s ease-in-out 3;
}
.mq-item.mq-arrival-highlight-static {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(164, 207, 57, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .mq-item.mq-arrival-highlight {
    animation: none;
  }
}
