/* Nestwijzer: rasfoto en rasinfo bovenaan de raspagina. Hoort bij eeat/inc/rasfoto-api.php. */
.ras-top { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: 40px; align-items: start; margin-top: 22px; }
.ras-top .rasfoto { margin: 0; background: #EFECE3; border-radius: 10px; padding: 12px; }
.ras-top .rasfoto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 6px; border: 4px solid #E6DCC9; box-sizing: border-box; background: #fff; }
.ras-top .rasfoto--illustratie img { object-fit: contain; aspect-ratio: 560 / 460; border: 0; background: transparent; }
.ras-top .rasfoto figcaption { font-size: .78rem; color: var(--muted); margin: 8px 2px 0; line-height: 1.45; }
.ras-top .rasfoto figcaption a { color: var(--muted); }
.ras-top .eyebrow { margin-top: 0; }
.ras-top h1 { margin-bottom: .3em; }
.ras-top .lede { font-size: 1.05rem; color: var(--ink-2); max-width: 62ch; }
.ras-feiten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); margin: 20px 0 18px; }
.ras-feiten > div { padding: 12px 14px; border-left: 1px solid var(--rule); min-width: 0; }
.ras-feiten > div:first-child { border-left: 0; }
.ras-feiten .lbl { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ras-feiten .val { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.ras-feiten .val small { display: block; font-family: var(--body); font-size: .8rem; color: var(--ink-2); margin-top: 2px; }
.ras-acties { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.ras-info { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 30px; align-items: start; }
.ras-info .panel { margin-bottom: 0; box-sizing: border-box; }
.ras-info--een { grid-template-columns: minmax(0, 1fr); }
.ras-info .panel > h2 { margin-top: 0; }
.ras-info .ras-tekst p { margin: 0 0 1em; }
.ras-info .ras-tekst p:last-child { margin-bottom: 0; }
.ras-info .nw-rasinfo h3 { font-size: 1.05rem; }
@media (max-width: 900px) {
  .ras-top { grid-template-columns: 1fr; gap: 22px; }
  .ras-top .rasfoto { max-width: 520px; }
  .ras-feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ras-feiten > div:nth-child(3) { border-left: 0; }
  .ras-feiten > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ras-info { grid-template-columns: 1fr; }
}
