/* Quiet shared footer. Pip discovery, preferences and music remain the existing controls. */
.site-footer {
  margin-top: 32px;
  padding-top: 34px;
  border-top: 1px solid #e1e6d8;
  background: #eff2e8;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  align-items: start;
  gap: 24px 64px;
  padding-bottom: 26px;
}
.site-footer .footer-brand .brand { gap: 11px; max-width: 100%; }
.site-footer .footer-brand .brand .logo-mark { width: 50px; height: 50px; }
.site-footer .footer-brand .brand .brand-name { font-family:var(--wcys-font); font-size: 23px; font-weight:700; letter-spacing: -.025em; }
.site-footer .footer-brand .brand-subtitle { margin-top: 5px; color:#5e6d59; font-size: 11.5px; font-weight:500; line-height: 1.4; }
.site-footer .footer-brand > p { max-width: 390px; margin-top: 15px; color: #56664f; font-size: .875rem; line-height: 1.65; }
.site-footer .footer-links,
.site-footer .footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  justify-content: start;
  gap: 2px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-links { justify-self: end; width: min(100%, 360px); }
.site-footer .footer-links > ul { grid-column: 1 / -1; }
.site-footer .footer-links li { margin: 0; padding: 0; }
.site-footer .footer-links a { min-height: 40px; color: #455d48; font-size: .83rem; font-weight: 550; text-decoration: none; }
.site-footer .footer-links a:hover { color: #253f32; text-decoration: underline; text-underline-offset: 5px; }
.site-footer .footer-pip-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #dce3d3;
  border-radius: 16px;
  background: #f8f9f2;
}
.site-footer .footer-pip { gap: 8px; max-width: 100%; margin: 0; color: #52634e; font-size: .77rem; }
.site-footer [data-pip-count] { min-width: 27px; min-height: 27px; padding-inline: 8px; background: #e4eadb; color: #3b563c; }
.site-footer .footer-pip .pip-helper.is-docked { margin-inline-start: 12px; }
.site-footer .footer-pip .pip-help-button { min-height: 40px; padding: 2px 10px 2px 3px; border-color: #dce3d3; background: #fffef8; box-shadow: none; font-size: .72rem; }
.site-footer .footer-pip .pip-help-button img { width: 34px; height: 34px; }
.site-footer .pip-preferences { max-width: 100%; margin: 0; color: #53654e; font-size: .73rem; }
.site-footer .pip-preferences summary { gap: 12px; min-height: 40px; text-decoration: none; list-style: none; }
.site-footer .pip-preferences summary::-webkit-details-marker { display: none; }
.site-footer .pip-preferences summary::after { content: '⌄'; color: #7a8971; font-size: 1rem; }
.site-footer .pip-preferences[open] summary::after { transform: rotate(180deg); }
.site-footer .pip-preferences-content { max-width: 340px; padding: 3px 0 7px; font-size: .73rem; line-height: 1.65; }
.site-footer .pip-reset { min-height: 40px; padding: 5px 0; color: #3b583e; font-size: .73rem; text-underline-offset: 4px; }
.site-footer .footer-bottom { min-height: 68px; gap: 12px; padding-block: 12px; border-top-color: #dce3d4; color: #73806c; font-size: .7rem; }
.site-footer .footer-bottom > p { margin: 0; }
.site-footer .footer-bottom .wcys-language-switcher { border: 0; padding: 0; }
.site-footer .footer-bottom .wcys-language-trigger { min-height: 38px; padding: 5px 11px; border-color: #dce3d4; background: #f8f9f3; color: #52634e; font-size: .72rem; }
.site-footer .footer-bottom .wcys-language-trigger svg { width: 17px; height: 17px; }

/* The closing invitation shares the footer's restrained sage and deep green. */
.parents-card { gap: 28px; margin-bottom: 28px; padding: 27px 30px; border-color: #dfe5d7; border-radius: 20px; background: #f0f3e9; box-shadow: none; }
.parents-card h2 { margin-bottom: 9px; color: #304b38; font-size: 1.35rem; letter-spacing: -.035em; }
.parents-card p { max-width: 740px; color: #687262; font-size: .85rem; line-height: 1.75; }
.parents-card .button { min-height: 44px; gap: 20px; padding: 11px 19px; border-color: #2c4937; background: #2c4937; color: #fffef8; font-size: .82rem; box-shadow: none; }
.parents-card .button:hover { border-color: #3e5d43; background: #3e5d43; }

@media (max-width: 760px) {
  .site-footer .footer-main { grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr); gap: 22px 28px; }
  .site-footer .footer-links, .site-footer .footer-links ul { gap: 2px 18px; }
  .parents-card { padding: 24px; }
}
@media (max-width: 560px) {
  .site-footer { margin-top: 26px; padding-top: 28px; }
  .site-footer .footer-main { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 22px; }
  .site-footer .footer-brand .brand .logo-mark { width: 46px; height: 46px; }
  .site-footer .footer-brand .brand .brand-name { font-size: 21px; }
  .site-footer .footer-brand > p { margin-top: 11px; font-size: .79rem; }
  .site-footer .footer-links { justify-self: start; width: 100%; }
  .site-footer .footer-links a { min-height: 40px; font-size: .8rem; }
  .site-footer .footer-pip-card { width: 100%; padding: 9px 12px; gap: 2px 16px; }
  .site-footer .footer-pip { width: 100%; gap: 7px; font-size: .73rem; }
  .site-footer .footer-pip .pip-helper.is-docked { margin-inline-start: auto; }
  .site-footer .footer-pip .pip-help-button { padding-inline-end: 8px; font-size: .67rem; }
  .site-footer .footer-pip .pip-help-button img { width: 30px; height: 30px; }
  .site-footer .pip-preferences { width: 100%; }
  .site-footer .pip-preferences summary { justify-content: space-between; min-height: 36px; }
  .site-footer .footer-bottom { flex-direction: row; align-items: center; flex-wrap: nowrap; min-height: 66px; gap: 8px; }
  .site-footer .footer-bottom > p { font-size: .64rem; }
  .site-footer .footer-bottom .wcys-language-trigger { min-height: 36px; padding: 4px 9px; }
  .parents-card { gap: 18px; padding: 23px; border-radius: 18px; }
  .parents-card h2 { font-size: 1.25rem; }
  .parents-card p { font-size: .82rem; }
}
