:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-carousel{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));align-items:start;gap:20px;min-width:0;max-width:906px;padding:0 6px 8px 0}
.mnd-program-catalog{min-width:0;font-family:Arial,Helvetica,sans-serif;color:var(--foreground)}
.mnd-program-catalog *{box-sizing:border-box}
.mnd-program-catalog [hidden]{display:none!important}
.mnd-program-catalog .mh-program{min-width:0;overflow-wrap:anywhere}
.mnd-program-catalog .mh-muted{color:var(--muted)}
.mnd-program-catalog .mh-checkout{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
/* One programme card template: copy, photo crop and mirrored alignment are data. */
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-carousel{height:auto;scrollbar-width:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-carousel::-webkit-scrollbar{display:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program{flex:0 0 auto;width:100%;padding:0;overflow:hidden;max-width:440px;border-radius:12px;container-type:inline-size}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-cover{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:end;gap:12px 8px;padding:18px;color:#fff;background-color:#08090d;background-image:linear-gradient(rgba(8,9,13,.18),rgba(8,9,13,.18)),linear-gradient(90deg,rgba(8,9,13,.85),rgba(8,9,13,.15) 80%),var(--program-photo,none);background-size:auto,auto,var(--program-photo-size,cover);background-position:center,center,var(--program-photo-position,center);background-repeat:no-repeat}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-cover-title{grid-column:1/-1}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-english{font:400 12px/18px Arial;margin:0;color:#e2e5e9;text-transform:lowercase}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-program-title{font:700 23px/28px Arial;color:inherit;margin:8px 0 0;min-height:56px;max-width:300px;text-shadow:0 1px 4px #08090d}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-cover-price{font:700 26px/1.2 Arial;text-shadow:0 1px 4px #08090d}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-cover-price small{display:block;width:fit-content;margin-top:6px;font:400 12px/18px Arial;text-shadow:none;white-space:nowrap}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose{position:static;display:flex;align-items:center;justify-content:flex-end;gap:6px;width:100px;min-height:26px;padding:0;border:0;background:transparent;color:#fff;font:600 12px/16px Arial;text-shadow:0 1px 3px #08090d}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose:before{content:'';position:absolute;inset:0;z-index:1}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose>span:not(.mh-card-chevron){text-decoration:underline;text-underline-offset:3px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-card-chevron{width:7px;height:7px;flex-shrink:0;margin:0 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-when-open,:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose[aria-expanded=true]>.mh-when-closed{display:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose[aria-expanded=true]>.mh-when-open{display:inline}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-disclose[aria-expanded=true]>.mh-card-chevron{transform:translateY(2px) rotate(225deg)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-program-cover{grid-template-columns:100px minmax(0,1fr);background-image:linear-gradient(rgba(8,9,13,.18),rgba(8,9,13,.18)),linear-gradient(270deg,rgba(8,9,13,.85),rgba(8,9,13,.15) 80%),var(--program-photo,none)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-cover-title{text-align:right}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-program-title{margin-left:auto}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-cover-price{grid-column:2;grid-row:2;text-align:right;justify-self:end}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-cover-price small{margin-left:auto}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-disclose{grid-column:1;grid-row:2;justify-content:flex-start}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-body{padding:18px;border-top:1px solid var(--border)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-body .mh-description{font:400 14px/1.5 Arial;margin:0 0 16px;white-space:pre-wrap}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px;margin:0 0 12px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-facts>div{grid-column:auto}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program dt{margin:0}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program dd{margin:6px 0 0 16px;font:600 12px/1.4 Arial;overflow-wrap:anywhere}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-purchase{border:0;padding-top:12px;margin:0}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-buy{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;gap:2px 10px;padding:6px 8px;min-height:44px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-buy-label{font:600 14px/20px Arial;white-space:nowrap}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-buy-price{font:600 20px/24px Arial;white-space:nowrap}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-note{margin:12px 0 0;padding-left:12px;text-align:left;font:400 11px/1.5 Arial}
@container(min-width:451px){:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-cover{padding:24px}:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-body{padding:22px 24px}:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-program-title{font-size:25px;line-height:30px;min-height:60px}}

:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-navigation{display:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true]{position:relative;isolation:isolate}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-program-cover:after{content:'';position:absolute;inset:0;background:var(--background);opacity:.45;z-index:2;pointer-events:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-program-cover:before{content:'';position:absolute;inset:0;background:inherit;filter:grayscale(1)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-program-cover>:is(.mh-cover-title,.mh-cover-price){position:relative}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-disclose{z-index:3}

:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-cover-price{z-index:3;min-height:61px;display:flex;align-items:flex-end}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-cover-price>.compact-notice{font:700 20px/24px Arial;text-shadow:none}

.mnd-program-catalog .mh-program-carousel>.mnd-program-catalog{width:100%;min-width:0}

/* The mark mirrors the cover copy and shares its inset. */
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-cover{--program-cover-inset:18px;padding:var(--program-cover-inset)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-program-cover>.mh-card-logo{position:absolute;top:calc(var(--program-cover-inset) + 3px);right:var(--program-cover-inset);width:28px;height:auto;pointer-events:none}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-program-english{min-height:20px;padding-right:40px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-card-logo{right:auto;left:var(--program-cover-inset)}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-align=end] .mh-program-english{padding-right:0;padding-left:40px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program[data-unavailable=true] .mh-card-logo{z-index:3}
@container(min-width:451px){:is(#mnd-home-preview,.mnd-program-catalog) .mh-program-cover{--program-cover-inset:24px}}

@container(max-width:300px){:is(#mnd-home-preview,.mnd-program-catalog) .mh-program .mh-program-title{font-size:20px;line-height:25px;min-height:50px}}
