/* עמוד "בית המקדש" (page-templates/beis-hamikdash.php). בנוסף ל-rebbe-life.css. המידע מחב"דפדיה וממדור "בית המקדש" באתר. */
/* hero: the theme's own Beit HaMikdash picture, in its own frame, nothing on top of it */
.mk .mk-hero-art{position:relative;z-index:1;margin:0;justify-self:center;width:100%;max-width:27rem}
.mk .mk-hero-art:before{content:"";position:absolute;inset:0;transform:translate(-14px,14px);border:2px solid rgba(95,233,208,.55);border-radius:1.5rem}
.mk .mk-hero-art img{position:relative;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:1.5rem;box-shadow:0 24px 48px rgba(10,12,50,.45)}
/* the climb */
.mk-climb{position:relative;background:linear-gradient(160deg,#2d3282,#3538cd 60%,#444ce7);border-radius:var(--rl-r);padding:1.75rem 1.5rem 1rem 3.25rem;min-height:24rem;display:flex;flex-direction:column;color:#fff}
.mk-climb-axis{position:absolute;left:1rem;top:1.75rem;bottom:3.4rem;display:flex;flex-direction:column;justify-content:space-between;font-size:.8rem;color:#c7d7fe}
.mk-steps{flex:1;display:flex;align-items:flex-end;gap:.4rem;border-bottom:2px solid rgba(255,255,255,.35);min-height:17rem}
.mk-step{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;height:100%;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}
.mk-step .bar{display:block;min-height:10px;border-radius:.6rem .6rem 0 0;background:rgba(255,255,255,.18);transition:background .25s,height .5s}
.mk-step:hover .bar{background:rgba(95,233,208,.45)}
.mk-step.is-past .bar{background:rgba(95,233,208,.55)}
.mk-step.is-on .bar{background:#5fe9d0;box-shadow:0 0 0 3px rgba(255,255,255,.5)}
.mk-step .h{display:block;text-align:center;font-weight:700;font-size:.85rem;margin-bottom:.3rem;color:#fff}
.mk-step .n{display:block;text-align:center;font-size:.72rem;line-height:1.25;color:#e0eaff;height:2.6em;margin-top:.45rem;overflow:hidden}
.mk-climb-cap{font-size:.8rem;color:#c7d7fe;text-align:center;margin-top:.25rem}
.mk-more-link{display:inline-block;margin-top:1rem;font-weight:600;color:var(--rl-indigo);text-decoration:none}
.mk-more-link:hover{text-decoration:underline}
/* article cards */
.mk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.mk-card{display:flex;flex-direction:column;background:#fff;border-radius:1.5rem;overflow:hidden;text-decoration:none;color:var(--rl-ink);transition:box-shadow .25s,transform .25s}
.mk-card:hover{box-shadow:0 12px 32px rgba(45,50,130,.14);transform:translateY(-3px)}
.mk-card-img{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--rl-indigo-50)}
.mk-card-img img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.mk-card-body{display:flex;flex-direction:column;gap:.45rem;padding:1.15rem 1.35rem 1.35rem;flex:1}
.mk-card-body b{font-size:1.2rem;line-height:1.35}
.mk-card-body span{color:var(--rl-muted);line-height:1.6;font-size:.98rem}
.mk-card-body i{margin-top:auto;font-style:normal;font-weight:600;color:var(--rl-indigo);font-size:.92rem}
/* learning */
.mk-learn{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:2.5rem;align-items:start;background:linear-gradient(135deg,#2d3282,#3538cd);color:#fff;border-radius:var(--rl-r);padding:3rem}
.mk-learn .rl-tag{background:rgba(255,255,255,.14);color:#5fe9d0}
.mk-learn h2{color:#fff;margin:0 0 1rem}
.mk-learn p{color:#e0eaff;font-size:1.08rem;line-height:1.85;margin:0 0 1rem}
.mk-chapters{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:1.25rem;padding:1.5rem}
.mk-chapters h3{color:#fff;font-size:1.15rem;margin:0 0 .75rem}
.mk-chapters h3:not(:first-child){margin-top:1.5rem}
.mk-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.mk-chips a{background:#fff;color:var(--rl-indigo-d);font-weight:600;border-radius:99px;padding:.45rem 1rem;text-decoration:none;font-size:.95rem;transition:background .2s}
.mk-chips a:hover{background:#5fe9d0}
.mk .rl-mv{grid-template-columns:repeat(5,1fr)}
.mk .rl-mv .rl-face.back{font-size:1rem;line-height:1.6}
.mk .rl-tl-more{margin-top:2rem}
.mk .rl-pane a{color:var(--rl-indigo);font-weight:600}
/* images from Chabadpedia */
.mk-ev-img{display:block;width:100%;height:9rem;object-fit:cover;border-radius:1rem;margin-bottom:.9rem;background:var(--rl-indigo-50)}
.mk-walk-img{margin:0 0 1rem;border-radius:1rem;overflow:hidden;aspect-ratio:16/9;background:var(--rl-indigo-50)}
.mk-walk-img[hidden]{display:none}
.mk-walk-img img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.mk-figs{display:grid;gap:1rem;margin:0 0 2rem}
.mk-figs-2{grid-template-columns:repeat(2,1fr)}
.mk-figs-3{grid-template-columns:repeat(3,1fr)}
.mk-figs-4{grid-template-columns:repeat(4,1fr);margin:1.5rem 0 0}
.mk-fig{margin:0;background:#fff;border-radius:1.25rem;overflow:hidden;display:flex;flex-direction:column}
.mk-fig a{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--rl-indigo-50)}
.mk-fig img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .4s}
.mk-fig a:hover img{transform:scale(1.04)}
.mk-fig figcaption{padding:.75rem 1rem .9rem;font-size:.9rem;line-height:1.5;color:var(--rl-muted)}
.mk .rl-pane .mk-fig{float:left;width:15rem;margin:0 1.5rem .75rem 0}
.mk .rl-pane:after{content:"";display:block;clear:both}
@media (max-width:991px){.mk-figs-3,.mk-figs-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.mk-figs-2,.mk-figs-3,.mk-figs-4{grid-template-columns:1fr}.mk .rl-pane .mk-fig{float:none;width:100%;margin:0 0 1rem}}
@media (max-width:991px){.mk-grid{grid-template-columns:repeat(2,1fr)}.mk-learn{grid-template-columns:1fr;gap:1.5rem;padding:2.25rem 1.75rem}.mk .mk-hero-art{order:-1;max-width:22rem}}
@media (max-width:767px){.mk-grid{grid-template-columns:1fr}.mk .mk-hero-art{max-width:19rem}.mk-climb{padding:1.25rem .75rem .75rem 2.4rem;min-height:0}.mk-climb-axis{left:.55rem}.mk-steps{gap:.2rem;min-height:14rem}.mk-step .n{font-size:.6rem}.mk-step .h{font-size:.72rem}.mk-learn{padding:1.75rem 1.25rem}}
