@font-face {
  font-family: "Almoni Neue";
  src: url("../fonts/almoni-neue-aaa-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Almoni Neue";
  src: url("../fonts/almoni-neue-aaa-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/*
 * Homepage sections embedded in page-research.php.
 * Rules are scoped so research.css keeps control of the research microsite.
 * Values mirror style.css for the equivalent homepage components.
 */
.research-home-sections,
.research-main-footer {
  --main-orange: #ed511b;
  --main-orange-dark: #c93b0b;
  --main-ink: #111111;
  --main-muted: #5d5d5d;
  --main-surface: #ffffff;
  --main-surface-alt: #eeeeee;
  --main-max-width: 1120px;
  font-family: "Almoni Neue", "Almoni", Arial, sans-serif;
  color: var(--main-ink);
  line-height: 1.6;
}

.research-home-sections * ,
.research-main-footer * { box-sizing: border-box; }

.research-home-sections .container,
.research-main-footer .container {
  width: min(calc(100% - 32px), var(--main-max-width));
  margin-inline: auto;
}

.research-home-sections a,
.research-main-footer a { color: inherit; text-decoration: none; }

.research-home-sections .section {
  padding: 64px 0;
  background: var(--main-surface);
  border-bottom: 0;
}
.research-home-sections .section.alt { background: var(--main-surface-alt); }
.research-home-sections .section.orange { background: var(--main-orange); color: #fff; }

.research-home-sections .section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.research-home-sections .section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 900;
  color: var(--main-ink);
}
.research-home-sections .section-head h2 strong { color: var(--main-orange); }
.research-home-sections .orange .section-head h2,
.research-home-sections .orange .section-head h2 strong { color: #fff; }
.research-home-sections .section-head p {
  margin: 0;
  color: var(--main-muted);
  font-size: 18px;
}
.research-home-sections .orange .section-head p { color: rgba(255,255,255,.85); }

.research-home-sections .prose { max-width: 900px; margin: auto; }
.research-home-sections .prose h3 { color: var(--main-orange); margin-top: 28px; }

.research-home-sections .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 22px;
  border: 0;
  border-radius: 0;
  background: var(--main-orange);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1.6;
  text-decoration: none;
}
.research-home-sections .btn-light { background: #fff; color: var(--main-orange-dark); }

.research-home-sections .content-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.research-home-sections .callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research-home-sections .callout {
  background: var(--main-orange);
  color: #fff;
  padding: 28px;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}
.research-home-sections .callout h3 {
  margin-top: 0;
  font-size: 25px;
  color: #fff;
}
.research-home-sections .callout p { color: #fff; }

.research-home-sections .team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: initial;
  margin: 0;
  background: transparent;
  color: inherit;
}
.research-home-sections .person {
  background: #fff;
  color: #111;
  text-align: initial;
  min-width: 0;
}
.research-home-sections .person-photo {
  width: auto;
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  color: #777;
  font-weight: 800;
  overflow: hidden;
  margin-bottom: 0;
}
.research-home-sections .person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: initial;
  display: block;
}
.research-home-sections .person-photo span {
  position: static;
  inset: auto;
  display: inline;
  color: #777;
  font-size: inherit;
}
.research-home-sections .person-copy { padding: 18px; }
.research-home-sections .person-copy h3,
.research-home-sections .person h3 {
  color: var(--main-orange-dark);
  margin: 0;
  font-size: inherit;
  line-height: 1.2;
}
.research-home-sections .person-copy small,
.research-home-sections .person small {
  display: inline;
  margin-bottom: 0;
  color: #777;
  font-size: smaller;
  font-weight: normal;
  opacity: 1;
}
.research-home-sections .person-info {
  color: #111;
  font-size: inherit;
  line-height: 1.6;
}
.research-home-sections .person-info p { margin: 8px 0 0; }

.research-home-sections .cta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.research-home-sections .cta-row .btn { min-width: 240px; font-size: 20px; }

/* Research footer remains intentionally controlled by research.css. */
.israel-first-research-page footer.research-footer {
  background: #1c1714;
  color: #b7a89d;
  padding: 40px 0;
  text-align: center;
}

/* Main-site footer, matching style.css while overriding research.css's generic footer rule. */
.israel-first-research-page footer.research-main-footer.site-footer {
  background: #e9e9e9;
  text-align: center;
  padding: 38px 0;
  color: #555;
  border: 0;
}
.research-main-footer .footer-brand {
  display: inline-block;
  margin-top: 18px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
}
.research-main-footer .footer-brand img {
  width: auto;
  height: 44px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1000px) {
  .research-home-sections .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .research-home-sections .callouts { grid-template-columns: 1fr; }
  .research-home-sections .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .research-home-sections .team { grid-template-columns: 1fr; }
  .research-home-sections .section { padding: 46px 0; }
}
