/* Enqueued only for The Archive post IDs 23760 and 23761. */
.remington-project-payment-groups {
  display: grid;
  gap: 1.5rem;
}

.remington-project-payment-group {
  margin: 0;
}

.remington-project-payment-group > h3 {
  margin: 0 0 .65rem;
  color: var(--project-ink, #163249);
  font: 500 clamp(1.2rem, 2vw, 1.45rem)/1.25 Newsreader, "Times New Roman", serif;
}

.remington-project-homes-table { overflow-x: auto; }
.remington-project-homes-row {
  grid-template-columns: 1.05fr .9fr .9fr 1fr;
  min-width: 640px;
}
.remington-project-homes-row > * { padding: 12px 11px; }
.archive-psf-note {
  margin: 8px 0 2px;
  color: #617080;
  font-size: .75rem;
  line-height: 1.5;
}

.remington-project-longform .archive-drive-table-wrap {
  overflow-x: auto;
  margin: .85rem 0 1.4rem;
  border: 1px solid #dce3e7;
  border-radius: .6rem;
}

.remington-project-longform .archive-drive-table {
  width: 100%;
  min-width: 550px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .9rem;
  line-height: 1.35;
}

.remington-project-longform .archive-drive-table th,
.remington-project-longform .archive-drive-table td {
  padding: .37rem .65rem;
  border-bottom: 1px solid #e2e8eb;
  text-align: start;
  vertical-align: top;
}

.remington-project-longform .archive-drive-table thead {
  background: #173a53;
  color: #fff;
}

.remington-project-longform .archive-drive-table tbody tr:nth-child(even) {
  background: #f6f8f9;
}

.remington-project-longform .archive-drive-table tbody tr:last-child td {
  border-bottom: 0;
}

.remington-project-longform .archive-drive-table th:nth-child(1),
.remington-project-longform .archive-drive-table td:nth-child(1) { width: 31%; }
.remington-project-longform .archive-drive-table th:nth-child(2),
.remington-project-longform .archive-drive-table td:nth-child(2) { width: 22%; white-space: nowrap; }
.remington-project-longform .archive-drive-table th:nth-child(3),
.remington-project-longform .archive-drive-table td:nth-child(3) { width: 47%; }

/* Keep the post-content FAQs in place for the shared FAQPage extractor, but
   present them like the editorial accordions on other Latest Projects. */
.remington-project-longform .faq {
  margin: 54px 0 44px;
}

.remington-project-longform .faq::before {
  display: block;
  margin-bottom: 42px;
  color: #ad8d4f;
  content: "Questions & answers";
  font: 800 10px/1.3 Inter, Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.remington-project-longform .faq > h2 {
  margin: 0 0 30px;
  color: #12233f;
  font-size: 30px;
  line-height: 1.1;
}

.remington-project-longform .faq > details {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #d7d8d3;
  background: transparent;
}

.remington-project-longform .faq > details:first-of-type {
  border-top: 1px solid #d7d8d3;
}

.remington-project-longform .faq > details > summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 4px;
  color: #12233f;
  cursor: pointer;
  font: 430 20px/1.25 Newsreader, Georgia, serif;
  list-style: none;
}

.remington-project-longform .faq > details > summary::marker { content: ""; }
.remington-project-longform .faq > details > summary::-webkit-details-marker { display: none; }

.remington-project-longform .faq > details > summary::after {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid #c8bb96;
  border-radius: 50%;
  color: #ad8d4f;
  content: "+";
  font: 600 16px/1 Inter, Arial, sans-serif;
  transition: transform .2s ease;
}

.remington-project-longform .faq > details[open] > summary::after {
  transform: rotate(45deg);
}

.remington-project-longform .faq > details > p {
  max-width: 760px;
  margin: -1px 48px 21px 4px;
  color: #657080;
  font-size: 13px;
  line-height: 1.75;
}

html[dir="rtl"] .remington-project-longform .faq::before {
  content: "پرسش و پاسخ";
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .remington-project-longform .faq > details > summary {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .remington-project-longform .faq > details > p {
  margin-right: 4px;
  margin-left: 48px;
}

@media (max-width: 700px) {
  .remington-project-longform .faq > details > summary {
    min-height: 64px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .remington-project-longform .faq > details > summary::after {
    transition: none;
  }
}
