/* Photographic presentation of the real KIFFedu spaces. */
.hero-visual--place { height: 465px; display: block; padding-top: 24px; }
.hero-visual--place::before { inset: 12px -9px 60px 12px; border-radius: 20px 90px 20px 20px; transform: rotate(4deg); }
.place-hero-photo { display: block; position: relative; width: 100%; height: 365px; overflow: hidden; border-radius: 18px 80px 18px 18px; background: #e7e4d7; }
.place-hero-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #203b2abf); pointer-events: none; }
.place-hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.place-photo-label { position: absolute; z-index: 1; left: 23px; right: 23px; bottom: 22px; display: flex; gap: 9px; align-items: center; color: #fffdf4; font-size: 12px; }
.place-photo-label > span:last-child { margin-left: auto; font-size: 22px; }
.photo-label-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #efd19b; }
.place-hero-small { position: absolute; z-index: 2; bottom: 14px; left: -20px; width: 188px; padding: 7px 7px 10px; background: #fffdf5; border-radius: 10px; box-shadow: 0 8px 25px #26332a1a; transform: rotate(-5deg); }
.place-hero-small img { width: 100%; height: 112px; object-fit: cover; border-radius: 5px; }
.place-hero-small > span { display: block; padding-top: 7px; text-align: center; font-size: 10px; font-weight: 600; color: #4d6247; }
.place-hero-link { position: absolute; right: 0; bottom: 14px; display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 12px 18px; border-radius: 30px; background: #f0d59e; color: #3d5039; font-size: 12px; font-weight: 600; }
.place-hero-link > span { font-size: 18px; }
.place-hero-star { position: absolute; top: -10px; right: -10px; color: #b0804a; font-size: 40px; }
.space-section { margin-top: 48px; padding-block: 84px 75px; background: #e9ede3; }
.space-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 35px; }
.space-heading h2 { max-width: 600px; }
.space-heading > p { max-width: 345px; margin: 0 0 3px; color: #5d6957; font-size: 14px; line-height: 1.75; }
.space-tour { display: grid; grid-template-columns: 1.55fr 1fr; gap: 21px; }
.space-tour-main, .space-tour-small { display: block; position: relative; overflow: hidden; border-radius: 15px; background: #dce1d1; }
.space-tour-main { min-height: 510px; }
.space-tour-main > img, .space-tour-small > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.space-tour-main:hover > img, .space-tour-small:hover > img { transform: scale(1.025); }
.space-tour-main::after, .space-tour-small::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #1c3124d9); pointer-events: none; }
.space-tour-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; color: #fffdf5; }
.space-number { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .13em; color: #ecd3a8; }
.space-tour-caption h3 { margin: 0; font-family: var(--serif); font-size: 35px; font-weight: 500; line-height: 1.15; }
.space-photo-arrow { position: absolute; right: 0; bottom: 1px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff80; border-radius: 50%; font-size: 20px; }
.space-tour-side { display: grid; grid-template-rows: 1fr auto; gap: 21px; min-width: 0; }
.space-tour-small { min-height: 267px; }
.space-tour-small .space-tour-caption { left: 23px; right: 23px; bottom: 23px; }
.space-tour-small h3 { padding-right: 32px; font-size: 25px; }
.space-tour-small .space-photo-arrow { width: 33px; height: 33px; font-size: 16px; }
.space-tour-note { display: flex; align-items: start; gap: 19px; padding: 28px; border-radius: 15px; background: #f3dfb7; }
.space-note-flower { flex: 0 0 auto; color: #a47740; font-size: 34px; line-height: 1.2; }
.space-tour-note h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 500; }
.space-tour-note p { margin: 0 0 11px; color: #62634c; font-size: 13px; line-height: 1.65; }
.space-tour-note .text-link { min-height: 36px; font-size: 12px; }
.space-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 32px; }
.space-details > div { display: flex; gap: 14px; padding: 5px 27px; border-right: 1px solid #bac4ad; }
.space-details > div:first-child { padding-left: 0; }
.space-details > div:last-child { border: 0; padding-right: 0; }
.space-details > div > span { font-family: var(--serif); font-size: 24px; color: #9a7151; line-height: 1.3; }
.space-details p { margin: 0; font-size: 13px; color: #626e59; line-height: 1.7; }
.space-details strong { display: block; color: #354a36; font-size: 14px; margin-bottom: 4px; }
.space-all-photos { display: flex; width: fit-content; margin: 35px auto 0; padding: 10px 0; border-bottom: 1px solid #7d9173; font-size: 13px; }
.visit-section { padding-block: 15px 95px; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 68px; }
.visit-photo { display: block; position: relative; overflow: hidden; height: 440px; border-radius: 16px 16px 75px 16px; background: #e6e1d2; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-photo > span { position: absolute; left: 23px; bottom: 23px; right: 23px; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 30px; background: #fffdf3ed; font-size: 12px; font-weight: 600; color: #45603e; }
.visit-copy h2 { margin-bottom: 19px; }
.visit-copy > p:not(.eyebrow) { color: #636d5e; font-size: 15px; line-height: 1.8; }
.visit-hours { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-block: 24px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.visit-hours small { grid-column: 1 / -1; font-size: 12px; color: #6b7564; }
.visit-copy > .text-link { display: flex; width: fit-content; margin-top: 16px; min-height: 40px; }
.gallery-place-hero { padding-block: 42px 46px; }
.gallery-place-hero .gallery-page-lede { max-width: 620px; }
.gallery-place-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; color: #65735c; font-size: 12px; }
.gallery-place-stats > span:first-child { padding: 6px 12px; border-radius: 20px; background: #e6ebdf; color: #425b3f; }
.gallery-place-hero .gallery-hero-doodle { right: 5%; top: 105px; }
.gallery-zone { padding-block: 33px 35px; scroll-margin-top: 115px; }
.gallery-zone + .gallery-zone { border-top: 1px solid var(--line); }
.gallery-zone-heading { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: start; gap: 17px; margin-bottom: 25px; }
.gallery-zone-number { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #e7ecdf; color: #5b7052; font-size: 12px; }
.gallery-zone-heading h2 { margin-top: 2px; font-family: var(--serif); font-size: 33px; letter-spacing: -.035em; }
.gallery-zone-heading p { max-width: 690px; margin: 12px 0 0; color: #66715f; font-size: 14px; line-height: 1.75; }
.zone-photo-count { padding-top: 14px; font-size: 11px; color: #79816f; }
.space-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.space-photo-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.place-gallery-card { grid-row: auto !important; grid-column: auto !important; aspect-ratio: 4/3; border-radius: 13px; }
.place-gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.place-gallery-card .full-gallery-caption { left: 23px; right: 23px; bottom: 21px; }
.place-gallery-card .full-gallery-caption strong { font-size: 25px; padding-right: 25px; }
.place-gallery-card .full-gallery-caption small { margin-bottom: 7px; font-size: 9px; }
.place-gallery-card .full-gallery-caption > span { opacity: 1; transform: none; font-size: 21px; }
.space-photo-grid--3 .full-gallery-caption { left: 18px; right: 18px; bottom: 18px; }
.space-photo-grid--3 .full-gallery-caption strong { font-size: 23px; }
.real-photo-note { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) {
  .hero-visual--place { height: 440px; }
  .place-hero-photo { height: 340px; }
  .place-hero-small { left: -6px; width: 168px; }
  .place-hero-small img { height: 102px; }
  .place-hero-link { font-size: 11px; padding-inline: 13px; }
  .space-tour-main { min-height: 470px; }
  .space-tour-small { min-height: 245px; }
  .space-tour-note { padding: 23px; gap: 12px; }
  .space-note-flower { font-size: 25px; }
  .space-tour-note h3 { font-size: 24px; }
  .space-tour-note p { font-size: 12px; }
  .visit-section { gap: 38px; }
  .visit-photo { height: 400px; }
}
@media (max-width: 820px) {
  .hero-visual--place { height: 395px; padding-top: 22px; }
  .place-hero-photo { height: 290px; border-top-right-radius: 60px; }
  .place-photo-label { font-size: 11px; left: 15px; right: 15px; }
  .place-hero-small { width: 145px; bottom: 22px; }
  .place-hero-small img { height: 85px; }
  .place-hero-link { bottom: 0; font-size: 10px; min-height: 42px; }
  .space-heading { display: block; }
  .space-heading > p { max-width: 600px; margin-top: 20px; }
  .space-tour { grid-template-columns: 1.35fr 1fr; gap: 15px; }
  .space-tour-main { min-height: 470px; }
  .space-tour-side { gap: 15px; }
  .space-tour-small { min-height: 220px; }
  .space-tour-caption h3 { font-size: 30px; }
  .space-tour-small h3 { font-size: 23px; }
  .space-tour-note { padding: 22px; display: block; }
  .space-note-flower { display: none; }
  .space-details > div { padding-inline: 17px; }
  .visit-section { grid-template-columns: 1fr 1fr; gap: 28px; }
  .visit-photo { height: 390px; }
  .space-photo-grid--3 { grid-template-columns: 1fr 1fr; }
  .space-photo-grid--3 .place-gallery-card:first-child { grid-column: 1 / -1 !important; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .hero-visual--place { height: auto; min-height: 345px; padding-top: 10px; padding-bottom: 95px; margin-top: 8px; }
  .hero-visual--place::before { inset: 4px -2px 72px 10px; border-top-right-radius: 58px; }
  .place-hero-photo { height: auto; aspect-ratio: 4/3; border-radius: 12px 55px 12px 12px; }
  .place-hero-small { bottom: 4px; left: 0; width: 44%; padding: 6px 6px 9px; }
  .place-hero-small img { height: auto; aspect-ratio: 1.6; }
  .place-hero-small > span { font-size: 9px; }
  .place-hero-link { bottom: 10px; right: 0; font-size: 10px; gap: 9px; padding: 11px 12px; }
  .place-hero-star { top: -16px; right: 0; font-size: 31px; }
  .space-section { margin-top: 34px; padding-block: 60px 53px; }
  .space-heading { margin-bottom: 24px; }
  .space-heading h2 { font-size: 36px; }
  .space-heading > p { font-size: 14px; }
  .space-tour { display: block; }
  .space-tour-main { min-height: 0; aspect-ratio: 4/3; }
  .space-tour-main > img { height: 100%; }
  .space-tour-caption { left: 20px; right: 20px; bottom: 21px; }
  .space-tour-caption h3 { font-size: 28px; }
  .space-number { font-size: 9px; }
  .space-photo-arrow { width: 34px; height: 34px; font-size: 18px; }
  .space-tour-side { margin-top: 16px; gap: 16px; }
  .space-tour-small { min-height: 0; aspect-ratio: 4/3; }
  .space-tour-small h3 { font-size: 26px; }
  .space-tour-note { padding: 25px; display: flex; gap: 15px; }
  .space-note-flower { display: block; font-size: 29px; }
  .space-tour-note p { font-size: 13px; }
  .space-details { grid-template-columns: 1fr; margin-top: 20px; }
  .space-details > div, .space-details > div:first-child, .space-details > div:last-child { padding: 17px 0; border: 0; border-bottom: 1px solid #c6cebd; gap: 18px; }
  .space-details p { font-size: 13px; }
  .space-all-photos { margin-top: 24px; font-size: 12px; }
  .visit-section { padding-block: 4px 62px; grid-template-columns: 1fr; gap: 29px; }
  .visit-photo { height: auto; aspect-ratio: 4/3; border-bottom-right-radius: 60px; }
  .visit-photo > span { left: 17px; right: 17px; bottom: 17px; font-size: 11px; }
  .visit-copy h2 { font-size: 37px; }
  .visit-copy > p:not(.eyebrow) { font-size: 14px; }
  .visit-hours { margin-block: 20px; }
  .gallery-place-hero { padding-block: 28px 32px; }
  .gallery-place-hero h1 { font-size: clamp(38px,10.2vw,48px); }
  .gallery-place-stats { gap: 9px; font-size: 11px; }
  .gallery-zone { padding-block: 25px 30px; scroll-margin-top: 100px; }
  .gallery-zone-heading { grid-template-columns: 34px minmax(0,1fr); gap: 11px; margin-bottom: 20px; }
  .gallery-zone-number { width: 32px; height: 32px; font-size: 10px; }
  .gallery-zone-heading h2 { font-size: 28px; line-height: 1.15; }
  .gallery-zone-heading p { font-size: 13px; margin-top: 12px; }
  .zone-photo-count { display: none; }
  .space-photo-grid, .space-photo-grid--3 { grid-template-columns: 1fr; gap: 15px; }
  .space-photo-grid--3 .place-gallery-card:first-child { grid-column: auto !important; aspect-ratio: 4/3; }
  .place-gallery-card .full-gallery-caption { left: 18px; right: 18px; bottom: 18px; }
  .place-gallery-card .full-gallery-caption strong { font-size: 23px; }
  .real-photo-note { font-size: 11px; }
}
/* Keep the room label clear of the smaller photograph. */
.place-hero-photo::after { display: none; }
.place-photo-label { top: 18px; bottom: auto; right: auto; padding: 8px 12px; border-radius: 25px; background: #fffdf4f0; color: #3d553b; font-size: 11px; }
.place-photo-label > span:last-child { font-size: 16px; margin-left: 5px; }
.space-tour-main > img, .space-tour-small > img { position: absolute; inset: 0; }
/* Album for photographs from activities and everyday afterschool life. */
.gallery-zone--activities .gallery-zone-number { background: #f3dfb9; color: #916a40; }
#activity-photo-grid:empty { display: none; }
.activities-album-intro { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 50px; padding: 48px 60px; border: 1px solid #dddccd; border-radius: 16px; background: #eeeee3; }
.activities-album-art { position: relative; height: 235px; display: flex; justify-content: center; align-items: center; }
.album-paper { position: absolute; width: 180px; height: 205px; border-radius: 5px; }
.album-paper--back { background: #e7c890; border: 1px solid #d4b67e; transform: translate(-15px,-5px) rotate(-12deg); }
.album-paper--front { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 23px; background: #fffdf5; border: 1px solid #d8ddcd; color: #6d815f; transform: translate(12px,5px) rotate(7deg); box-shadow: 0 10px 25px #44543e0c; }
.album-paper--front > span { font-size: 12px; font-family: var(--serif); color: #617254; }
.album-spark { position: absolute; color: #a2794e; }
.album-spark--one { top: 0; right: 12%; font-size: 33px; }
.album-spark--two { bottom: 6px; left: 4%; color: #97a486; font-size: 25px; }
.activities-album-copy { max-width: 480px; }
.activities-album-copy .eyebrow { margin-bottom: 15px; font-size: 10px; }
.activities-album-copy h3 { margin: 0 0 16px; font-family: var(--sans); font-size: 36px; font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
.activities-album-copy h3 em { font-family: var(--serif); color: #a36044; font-weight: 500; }
.activities-album-copy > p:not(.eyebrow) { font-size: 14px; color: #65715b; line-height: 1.75; margin-bottom: 18px; }
.album-coming-soon { display: inline-block; padding: 7px 12px; border-radius: 20px; background: #dfe7d5; color: #506645; font-size: 11px; font-weight: 600; }
.album-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.album-topics > span { padding: 5px 9px; border: 1px solid #cdd3c2; border-radius: 5px; color: #6c765f; font-size: 10px; }
@media (max-width: 820px) {
  .activities-album-intro { padding: 35px 30px; gap: 30px; }
  .activities-album-copy h3 { font-size: 32px; }
  .album-paper { width: 145px; height: 175px; }
}
@media (max-width: 640px) {
  .activities-album-intro { grid-template-columns: 1fr; gap: 25px; padding: 27px 24px 30px; }
  .activities-album-art { height: 195px; }
  .album-paper { width: 145px; height: 175px; }
  .album-spark--one { right: 9%; }
  .album-spark--two { left: 7%; }
  .activities-album-copy h3 { font-size: 31px; }
  .activities-album-copy > p:not(.eyebrow) { font-size: 13px; }
  .activities-album-copy .eyebrow { font-size: 9px; }
  .album-topics { gap: 6px; }
}
