/* =========================================================
   Jory&Co — News & Insights article
   Builds on main.css + news.css (header bits, cards, fallbacks)
   Figma: Design AW (Updated) › News & Insights Detail_A (7183:12179)
   ========================================================= */

.ph--nd { padding-top: 236px; }
.nd-head { display: flex; flex-direction: column; align-items: center; gap: 50px; text-align: center; }
.nd-title { margin: 0; max-width: 1212px; font-weight: 600; font-size: clamp(36px, 4.17vw, 60px); line-height: 1.1; letter-spacing: -0.03em; }
html.js .nd-title { visibility: hidden; }
.nd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
html.js .page-nd [data-fade] { opacity: 0; }

/* single 690px reading column, 100px between blocks */
.nd { display: flex; flex-direction: column; align-items: center; }
.nd > * { width: min(690px, 100%); margin-top: 100px; }
.nd > .nd-media { margin-top: 100px; }
.nd > .nd-more, .nd > .ticker-box--cta { width: 100%; }
.nd > .nd-more { margin-top: 180px; }
.nd > .ticker-box--cta { margin-top: 180px; }

.nd-media { margin-bottom: 0; aspect-ratio: 690 / 387; border-radius: var(--radius); overflow: hidden; position: relative; }
.nd-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

/* ---------- Article body ---------- */
.nd-prose { font-size: 18px; line-height: 1.3; }
.nd-prose > * { margin: 0 0 22px; }
.nd-prose > :last-child { margin-bottom: 0; }
.nd-prose h2 { font-weight: 600; font-size: 30px; line-height: 1.3; margin-top: 44px; }
.nd-prose ul, .nd-prose ol { padding-left: 27px; }
.nd-prose ul { list-style: disc; }
.nd-prose ol { list-style: decimal; }
.nd-prose li + li { margin-top: 10px; }
.nd-prose li::marker { color: var(--new-green); }
.nd-prose a, .nd-dl__text a {
  color: var(--white); text-decoration: underline; text-decoration-color: var(--new-green);
  text-decoration-thickness: 1px; text-underline-offset: .18em;
  transition: color .3s ease, text-decoration-thickness .3s ease;
}
.nd-prose a:hover, .nd-dl__text a:hover { color: var(--new-green); text-decoration-thickness: 2px; }

/* ---------- Quote ---------- */
.nd-quote { margin: 100px 0 0; padding: 40px 0; border-top: 1px solid var(--white-20); border-bottom: 1px solid var(--white-20); display: flex; flex-direction: column; gap: 40px; }
.nd-quote blockquote { margin: 0; font-weight: 600; font-size: clamp(20px, 1.74vw, 25px); line-height: 1.4; }
.nd-quote__by { display: flex; align-items: center; gap: 10px; }
.nd-quote__by img { width: 60px; height: 60px; border-radius: 50%; }
.nd-quote__by > span { display: flex; flex-direction: column; gap: 10px; }

/* ---------- FAQ accordion ---------- */
.nd-faq { display: flex; flex-direction: column; gap: 20px; }
.nd-acc { border-radius: var(--radius); background: var(--white-10); transition: background-color .35s ease; }
.nd-acc:hover { background: rgba(255,255,255,.14); }
.nd-acc__head {
  width: 100%; padding: 20px; border: 0; background: none; color: var(--white); cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  font: 600 22px/1.3 var(--font-sans);
}
.nd-acc__icon { flex: none; width: 30px; height: 30px; color: var(--white); transition: transform .5s var(--ease-out), color .3s ease; }
.nd-acc__icon svg { display: block; }
.nd-acc__head:hover .nd-acc__icon, .nd-acc__head:focus-visible .nd-acc__icon { color: var(--new-green); }
.nd-acc.is-open .nd-acc__icon { transform: rotate(45deg); }
.nd-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.nd-acc.is-open .nd-acc__panel { grid-template-rows: 1fr; }
.nd-acc__inner { min-height: 0; overflow: hidden; padding: 0 20px; font-size: 18px; line-height: 1.3; }
.nd-acc__inner > :first-child { margin-top: -2px; }
.nd-acc__inner p { margin: 0 0 22px; }
.nd-acc__inner ul { margin: 0; padding: 0 0 30px 27px; list-style: disc; }
.nd-acc__inner li + li { margin-top: 10px; }
.nd-acc__inner li::marker { color: var(--new-green); }
.nd-acc__inner > * { opacity: 0; transition: opacity .35s ease; }
.nd-acc.is-open .nd-acc__inner > * { opacity: 1; transition-delay: .12s; }

/* ---------- Download guide ---------- */
.nd-dl__title { margin: 0 0 22px; font-weight: 600; font-size: 30px; line-height: 1.3; }
.nd-dl__text { margin: 0; font-size: 18px; line-height: 1.3; }
.nd-dl__row { display: grid; grid-template-columns: 310px 1fr; gap: 50px; margin-top: 40px; align-items: start; }
.nd-dl__thumb { aspect-ratio: 310 / 174; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 4px rgba(0,0,0,.25); position: relative; }
.nd-dl__thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform 1s var(--ease-out); }
.nd-dl:hover .nd-dl__thumb img { transform: scale(1.04); }
.nd-form { display: flex; flex-direction: column; gap: 10px; }
.nd-field input {
  width: 100%; height: 36px; padding: 0 18px; border: 0; border-radius: var(--radius); outline: none;
  background: var(--white-10); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  color: var(--white); font: 12px/1.2 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s ease, background-color .3s ease;
}
.nd-field input::placeholder { color: var(--white); opacity: 1; }
.nd-field input:focus { box-shadow: inset 0 0 0 1px var(--new-green); background: rgba(255,255,255,.14); }
.nd-field input.is-invalid { box-shadow: inset 0 0 0 1px #ff6b6b; }
.nd-form__foot { display: flex; align-items: center; gap: 20px; }
.nd-form__msg { margin: 0; color: var(--new-green); }
.nd-dl__legal { margin: 40px 0 0; max-width: 310px; white-space: normal; font-size: 9px; line-height: 1.4; letter-spacing: .9px; opacity: .5; }

/* ---------- Share ---------- */
.nd-share { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--white-20); }
.nd-share p { margin: 0; }
.nd-share__icons { display: flex; gap: 15px; }
.nd-share__btn { display: block; color: var(--white); opacity: .5; transition: opacity .3s ease, color .3s ease, transform .4s var(--ease-out); }
.nd-share__btn svg { display: block; }
.nd-share__btn:hover, .nd-share__btn:focus-visible { opacity: 1; color: var(--new-green); transform: translateY(-2px); }
.nd-toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 90; margin: 0; padding: 10px 14px; border-radius: 30px;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); color: var(--new-green);
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .45s var(--ease-out);
}
.nd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* back link: arrow first */
.link-arrow--back .icon-link--back { transform: none; }
.link-arrow--back:hover .icon-link--back { transform: translateX(-3px); }

@media (max-width: 760px) {
  .ph--nd { padding-top: 140px; }
  .nd > * { margin-top: 60px; }
  .nd > .nd-more, .nd > .ticker-box--cta { margin-top: 120px; }
  .nd-dl__row { grid-template-columns: 1fr; gap: 24px; }
  .nd-acc__head { font-size: 18px; }
  .nd-share { flex-direction: column; }
}
