/* Preserve the common header row and prevent its menu strokes from shrinking. */
:root body .site-header .header-inner { flex-wrap: nowrap !important; }
:root body .site-header .header-actions {
  position: static !important;
  align-self: center !important;
  transform: none !important;
}
:root body .site-header .menu-toggle span {
  flex: none !important;
  width: 26px !important;
  height: 2px !important;
  min-height: 2px !important;
  margin: 0 !important;
  background: currentColor !important;
}

/* Shared catalogue heart, including Safari's prefixed mask support. */
@layer greenday-radius {
  :root body :is(.tour-card .heart,.school-favorite) {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    top: 10px !important;
    right: 10px !important;
    border-radius: 50% !important;
  }
}
:root body :is(.tour-card .heart,.school-favorite)::before {
  content: '';
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C10.5 19.6 3 13.1 3 8.1C3 5.3 5.1 3 7.9 3C9.55 3 11.05 3.8 12 5C12.95 3.8 14.45 3 16.1 3C18.9 3 21 5.3 21 8.1C21 13.1 13.5 19.6 12 21Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C10.5 19.6 3 13.1 3 8.1C3 5.3 5.1 3 7.9 3C9.55 3 11.05 3.8 12 5C12.95 3.8 14.45 3 16.1 3C18.9 3 21 5.3 21 8.1C21 13.1 13.5 19.6 12 21Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 1px 2px #0008);
}
:root body :is(.tour-card .heart,.school-favorite)[aria-pressed="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C10.5 19.6 3 13.1 3 8.1C3 5.3 5.1 3 7.9 3C9.55 3 11.05 3.8 12 5C12.95 3.8 14.45 3 16.1 3C18.9 3 21 5.3 21 8.1C21 13.1 13.5 19.6 12 21Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C10.5 19.6 3 13.1 3 8.1C3 5.3 5.1 3 7.9 3C9.55 3 11.05 3.8 12 5C12.95 3.8 14.45 3 16.1 3C18.9 3 21 5.3 21 8.1C21 13.1 13.5 19.6 12 21Z'/%3E%3C/svg%3E");
}
:root body :is(.tour-card .heart,.school-favorite):focus-visible { outline: 2px solid #8aee4d; outline-offset: 2px; }

:root body .school-card-meta > span { display: flex; align-items: flex-start; gap: 7px; }
.school-card-meta > span[data-meta-icon]::before {
  content: ''; flex: 0 0 17px; width: 17px; height: 19px; background: currentColor;
  -webkit-mask: var(--school-meta-icon) center/contain no-repeat;
  mask: var(--school-meta-icon) center/contain no-repeat;
}
.school-card-meta > span[data-meta-icon="calendar"] { --school-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4m10-4v4M3 11h18'/%3E%3C/svg%3E"); }
.school-card-meta > span[data-meta-icon="group"] { --school-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 21v-3a6 6 0 0 1 12 0v3m1-16a3 3 0 0 1 0 6m2 3a5 5 0 0 1 3 5v2'/%3E%3C/svg%3E"); }

:root body .school-card-bottom :is(button,.school-program-open) {
  position: relative; flex-shrink: 0; padding: 0 !important; font-size: 0 !important; line-height: 0 !important;
}
.school-card-bottom :is(button,.school-program-open)::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%,-50%); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
:root body .school-review-author { justify-content: flex-start; text-align: left; }
:root body .school-review-author span { margin-left: 0 !important; font: inherit; align-self: auto; }
:root body .school-review-author > div { flex: 1; text-align: left; }
:root body .school-review-author > span:last-child:not(.school-review-avatar) { margin-left: auto !important; flex: none; }
.school-program-dialog { box-sizing: border-box; width: min(600px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid #dce4de; background: #fbfaf6; color: #203c2e; overflow-y: auto; }
.school-program-dialog::backdrop { background: #10221999; backdrop-filter: blur(3px); }
.school-program-dialog h2 { font: 500 36px/1.1 var(--display,Georgia); margin: 22px 0 16px; }
.school-program-dialog p,.school-program-dialog li { font: 400 16px/1.6 var(--sans,Arial); }
.school-program-dialog h3 { font: 600 18px/1.4 var(--sans,Arial); }
.school-program-photo { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; }
.school-program-close { position: sticky; top: 0; display: block; width: 40px; height: 40px; margin: 0 0 12px auto; padding: 0; border: 1px solid #cdd9c9; border-radius: 50%; background: #fff; color: #203c2e; cursor: pointer; }
.school-program-close::before { content: ''; position: absolute; width: 18px; height: 18px; left: 50%; top: 50%; transform: translate(-50%,-50%); background: currentColor; clip-path: polygon(12% 4%,50% 42%,88% 4%,96% 12%,58% 50%,96% 88%,88% 96%,50% 58%,12% 96%,4% 88%,42% 50%,4% 12%); }
@media(max-width:600px) {
  @layer greenday-radius { :root body .school-favorite { top: auto !important; bottom: 6px !important; right: 6px !important; } }
  .school-program-dialog { padding: 20px; }
}

.school-card-meta > span[data-meta-icon="clock"] { --school-meta-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
