/* USED BY: site-wide, via includes/site_assets.php's heyri_print_stylesheets()
   (loaded from includes/header.php on every custom page). */
/* Heyri shared components */
.nav-card,
.is-subpage .card.shadow-sm,
.is-subpage .site-subpage__content-card,
.is-subpage .site-subpage__info-card,
.is-subpage .group-quote__panel,
.is-subpage .group-quote__estimate,
.is-subpage .group-quote__price-group,
.is-subpage .individual-reservation__panel {
    border-radius: var(--heyri-radius) !important;
    border: 1px solid rgba(168, 94, 56, 0.15) !important;
    background: rgba(255, 253, 248, 0.96) !important;
    box-shadow: 0 14px 36px rgba(74, 55, 40, 0.075) !important;
}

.nav-card {
    transform: translateZ(0);
}

.transition-transform {
    transition: transform 0.6s ease;
}

.transition-opacity {
    transition: opacity 0.4s ease;
}

.group:hover .group-hover-opacity,
.nav-card .group:hover .group-hover-opacity {
    opacity: 1 !important;
}

.group:hover .transition-transform,
.nav-card .group:hover .transition-transform {
    transform: scale(1.05);
}

.nav-card:hover,
.is-subpage .card.shadow-sm:hover,
.is-subpage .site-subpage__content-card:hover,
.is-subpage .site-subpage__info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 94, 56, 0.28) !important;
    box-shadow: 0 24px 54px rgba(74, 55, 40, 0.12) !important;
}

.nav-card .ratio,
.nav-card .overflow-hidden:has(> img),
.is-subpage .site-subpage__image,
.is-subpage .site-subpage__image-stack img {
    border-radius: 6px;
}

.nav-card .ratio img,
.nav-card img.object-fit-cover,
.is-subpage .site-subpage__image img {
    transition: transform 0.55s ease, filter 0.55s ease;
}

.nav-card:hover .ratio img,
.nav-card:hover img.object-fit-cover,
.is-subpage .site-subpage__image:hover img {
    transform: scale(1.035);
}

.nav-card .card-body {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 250, 244, 0.97)),
        var(--heyri-paper);
}

.badge,
.is-subpage .site-subpage__meta-list li,
.is-subpage .site-subpage__facts li,
.is-subpage .site-subpage__kicker {
    border-radius: 999px !important;
}

.is-subpage .site-subpage__eyebrow,
.is-subpage .subtitle-overhead,
.is-subpage .font-script {
    color: var(--heyri-clay) !important;
}

.is-subpage .button,
.is-subpage .btn,
.is-subpage button[type="submit"],
.group-quote__actions button,
.individual-reservation__submit,
.btn-visit-cta {
    border-radius: var(--heyri-radius) !important;
}

.button-pink,
.btn-visit-cta,
.group-quote__actions button,
.individual-reservation__submit {
    background: var(--heyri-clay) !important;
    border-color: var(--heyri-clay) !important;
    color: #fffdf8 !important;
}

.button-teal,
.btn-visit-secondary {
    background: var(--heyri-green) !important;
    border-color: var(--heyri-green) !important;
    color: #fffdf8 !important;
}

.btn-soft-blue {
    background-color: #e3f2fd !important;
    color: #1565c0 !important;
}

.visit-bridge-banner {
    border-left-color: var(--heyri-green);
    border-radius: var(--heyri-radius);
    background:
        linear-gradient(90deg, rgba(232, 241, 235, 0.9), rgba(255, 253, 248, 0.95)) !important;
    box-shadow: 0 14px 34px rgba(74, 55, 40, 0.06);
}

.group-quote__control,
.individual-reservation__field select,
.individual-reservation__field input,
.individual-reservation__date-button,
.individual-reservation__time-button,
.individual-reservation__nav-button {
    border-radius: var(--heyri-radius) !important;
}

.group-quote__control:focus,
.individual-reservation input:focus,
.individual-reservation select:focus {
    border-color: var(--heyri-clay) !important;
    box-shadow: 0 0 0 4px rgba(168, 94, 56, 0.12) !important;
}

.site-subpage__grid {
    display: grid;
    gap: 1rem;
}

.site-subpage__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-subpage__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-subpage__content-card,
.site-subpage__info-card {
    padding: clamp(1.2rem, 3vw, 2rem);
    word-break: keep-all;
}

.site-subpage__facts,
.site-subpage__meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-subpage__facts li,
.site-subpage__meta-list li {
    list-style: none;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(44, 95, 88, 0.07);
    color: var(--heyri-green);
    font-size: 0.92rem;
}

.site-subpage__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(44, 95, 88, 0.08);
    color: var(--heyri-green);
    font-size: 0.85rem;
    font-weight: 600;
}

.site-subpage__cta {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.4rem) !important;
    border: 1px solid rgba(168, 94, 56, 0.14) !important;
    border-radius: var(--heyri-radius);
    background:
        radial-gradient(circle at top right, rgba(168, 94, 56, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(248, 243, 236, 0.95)) !important;
}

.site-subpage__cta h2,
.site-subpage__cta p {
    word-break: keep-all;
}

.site-subpage__image,
.site-subpage__image-stack img,
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--heyri-radius);
}

.program-detail__feature {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: stretch;
    margin-bottom: var(--subpage-section-gap);
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.4rem) !important;
}

.program-detail__feature-image {
    aspect-ratio: 1 / 1;
    align-self: start;
    overflow: hidden;
    border-radius: calc(var(--heyri-radius) - 2px);
}

.program-detail__feature-image img,
.program-detail__media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-detail__feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 0;
}

.program-detail__feature-body h2,
.program-detail__step-heading h2,
.program-detail__cta h2 {
    margin: 0;
    color: var(--heyri-green);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: keep-all;
}

.program-detail__step-heading h2 small {
    color: var(--heyri-muted);
    font-family: var(--heyri-font-ui);
    font-size: 0.48em;
    font-weight: 700;
    white-space: nowrap;
}

.program-detail__price {
    align-self: stretch;
    margin: -0.15rem 0 0.1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(168, 94, 56, 0.12);
    color: var(--heyri-clay);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
    word-break: keep-all;
}

.program-detail__price-note {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.35rem;
    margin: 0.2rem 0 0;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(168, 94, 56, 0.14);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.86);
    color: rgba(116, 103, 92, 0.9);
    font-family: var(--heyri-font-ui);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.program-detail__price-note::before {
    content: "\F3E8";
    color: var(--heyri-clay);
    font-family: bootstrap-icons !important;
    font-size: 0.95em;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1;
}

.program-detail__summary-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    color: var(--heyri-muted);
    font-family: var(--heyri-font-ui);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.7;
    list-style: none;
    word-break: keep-all;
}

.program-detail__summary-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
}

.program-detail__summary-list i {
    margin-top: 0.2em;
    color: var(--heyri-clay);
}

.program-detail__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
}

.program-detail__facts li {
    display: flex;
    min-height: 84px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem;
    border: 1px solid rgba(47, 102, 94, 0.12);
    border-radius: var(--heyri-radius);
    background: rgba(232, 241, 235, 0.55);
    color: var(--heyri-green);
    text-align: center;
    word-break: keep-all;
}

.program-detail__facts i {
    font-size: 1.35rem;
}

.program-detail__button {
    width: 100%;
    margin-top: 0.35rem;
}

.program-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.35rem;
}

.program-detail__actions .program-detail__button {
    width: auto;
    flex: 1 1 160px;
    margin-top: 0;
}

.program-detail__section {
    margin-bottom: var(--subpage-section-gap);
}

.program-detail__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.8vw, 1.2rem);
}

.program-detail__gallery--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-detail__media-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(168, 94, 56, 0.13);
    border-radius: var(--heyri-radius);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 12px 28px rgba(74, 55, 40, 0.075);
}

.program-detail__media-item img {
    transition: transform 0.45s ease;
}

.program-detail__media-item:hover img {
    transform: scale(1.035);
}

.program-detail__video {
    position: relative;
    aspect-ratio: 16 / 9;
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 920px;
    overflow: hidden;
    border: 1px solid rgba(168, 94, 56, 0.13);
    border-radius: var(--heyri-radius);
    background: #111;
    box-shadow: 0 12px 28px rgba(74, 55, 40, 0.075);
}

.program-detail__video iframe,
.program-detail__video-shield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.program-detail__video-shield {
    z-index: 1;
}

.program-detail__step {
    padding: clamp(1.4rem, 3.5vw, 2.5rem) !important;
}

.program-detail__step-heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.program-detail__step-heading span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(168, 94, 56, 0.12);
    color: var(--heyri-clay);
    font-family: var(--heyri-font-title);
    font-size: 1.25rem;
    font-weight: 800;
}

.program-detail__cta {
    display: grid;
    justify-items: center;
    gap: 1rem;
    margin-bottom: calc(var(--subpage-section-gap) * 0.65);
}

.program-detail__cta p {
    max-width: 720px;
    margin: 0;
    color: var(--heyri-muted);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.75;
    word-break: keep-all;
}

.program-detail__cta .button {
    min-width: 180px;
}

.program-detail__cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.program-list {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: var(--subpage-section-gap);
}

.program-list--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-list--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-list__item,
.program-list-card {
    min-width: 0;
}

.program-list-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(168, 94, 56, 0.15);
    border-radius: var(--heyri-radius);
    background: rgba(255, 253, 248, 0.96);
    color: var(--heyri-ink);
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(74, 55, 40, 0.075);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.program-list-card:hover,
.program-list-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(168, 94, 56, 0.28);
    color: var(--heyri-ink);
    box-shadow: 0 24px 54px rgba(74, 55, 40, 0.12);
}

.program-list-card--grid {
    flex-direction: column;
}

.program-list-card--split {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1fr);
}

.program-list-card__media {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: rgba(232, 241, 235, 0.5);
}

.program-list-card--grid .program-list-card__media {
    aspect-ratio: 1 / 1;
}

.program-list-card--split .program-list-card__media {
    min-height: 260px;
    padding: clamp(0.45rem, 1vw, 0.8rem);
}

.program-list-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.program-list-card:hover .program-list-card__media img,
.program-list-card:focus-visible .program-list-card__media img {
    transform: scale(1.035);
}

.program-list-card--split .program-list-card__media img {
    object-fit: contain;
}

.program-list-card--split:hover .program-list-card__media img,
.program-list-card--split:focus-visible .program-list-card__media img {
    transform: none;
}

/* gp.php, small_group.php, visit.php: fill the media box edge-to-edge
   instead of the split variant's default inset/letterboxed photo. */
.page-program-gp .program-list-card--split .program-list-card__media,
.page-program-small_group .program-list-card--split .program-list-card__media,
.page-program-visit .program-list-card--split .program-list-card__media {
    padding: 0;
}

.page-program-gp .program-list-card--split .program-list-card__media img,
.page-program-small_group .program-list-card--split .program-list-card__media img,
.page-program-visit .program-list-card--split .program-list-card__media img {
    object-fit: cover;
}

.page-program-gp .program-list-card--split:hover .program-list-card__media img,
.page-program-gp .program-list-card--split:focus-visible .program-list-card__media img,
.page-program-small_group .program-list-card--split:hover .program-list-card__media img,
.page-program-small_group .program-list-card--split:focus-visible .program-list-card__media img,
.page-program-visit .program-list-card--split:hover .program-list-card__media img,
.page-program-visit .program-list-card--split:focus-visible .program-list-card__media img {
    transform: scale(1.035);
}

.program-list-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: clamp(1.05rem, 2.2vw, 1.55rem);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 250, 244, 0.97)),
        var(--heyri-paper);
}

.program-list-card--grid .program-list-card__body {
    align-items: center;
    text-align: center;
}

.program-list-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--program-accent), transparent 72%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--program-accent), #fffdf8 88%);
    color: var(--program-accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.program-list-card h3 {
    margin: 0;
    color: var(--heyri-ink);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: keep-all;
}

.program-list-card__subtitle {
    margin: -0.35rem 0 0;
    color: var(--program-accent);
    font-size: 0.95rem;
    font-weight: 700;
}

.program-list-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    color: var(--heyri-muted);
    font-size: 0.9rem;
}

.program-list-card--grid .program-list-card__meta {
    justify-content: center;
}

.program-list-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.program-list-card__description {
    flex: 1;
    margin: 0;
    color: var(--heyri-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    word-break: keep-all;
}

.program-list-card__price {
    margin-top: auto;
    color: var(--program-accent);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    font-weight: 800;
}

.program-list-card--sage { --program-accent: var(--heyri-green); }
.program-list-card--clay { --program-accent: var(--heyri-clay); }
.program-list-card--ochre { --program-accent: var(--heyri-ochre); }
.program-list-card--slate { --program-accent: var(--heyri-slate); }

.program-list-contact {
    margin: var(--subpage-section-gap) 0;
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(168, 94, 56, 0.14);
    border-radius: var(--heyri-radius);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 14px 36px rgba(74, 55, 40, 0.07);
}

.program-list-contact {
    text-align: center;
}

.program-list-contact h2 {
    margin: 0 0 0.45rem;
    color: var(--heyri-green);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    word-break: keep-all;
}

.program-list-contact p {
    margin: 0 0 1rem;
    color: var(--heyri-muted);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    word-break: keep-all;
}

.program-list-contact__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.lunch-section {
    font-family: var(--heyri-font-ui);
}

.lunch-section__lead {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    word-break: keep-all;
}

.lunch-card {
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--heyri-radius);
    transition: box-shadow 0.3s ease;
}

.lunch-card img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lunch-card:hover {
    box-shadow: 0 12px 24px -10px rgba(74, 55, 40, 0.18);
}

.lunch-card:hover img {
    transform: scale(1.05);
}

#nearby-section .lead {
    word-break: keep-all;
}

/* "함께 가볼만한 곳" nearby-attraction cards: fixed-ratio photo + name/phone/website footer. */
.nearby-place-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--heyri-line);
    border-radius: var(--heyri-radius);
    background: var(--heyri-paper);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nearby-place-card:hover {
    transform: translateY(-4px);
    border-color: var(--heyri-line-strong);
    box-shadow: var(--heyri-shadow);
}

.nearby-place-card .lunch-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.nearby-place-card__fee {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 1;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #fff;
    background: rgba(47, 102, 94, 0.88);
}

.nearby-place-card__fee--paid {
    background: rgba(168, 94, 56, 0.88);
}

.nearby-place-card__body {
    padding: 1rem 1.1rem 1.15rem;
    text-align: center;
}

.nearby-place-card__name {
    margin: 0 0 0.55rem;
    font-family: var(--heyri-font-title);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--heyri-ink);
}

.nearby-place-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nearby-place-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: var(--heyri-muted);
    text-decoration: none;
}

.nearby-place-card__link i {
    color: var(--heyri-clay);
}

.nearby-place-card__link:hover {
    color: var(--heyri-clay);
    text-decoration: underline;
}

.event-banner {
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.95), rgba(255, 228, 225, 0.95));
}

.event-banner h3,
.event-banner p {
    font-family: var(--heyri-font-title);
}

.event-banner p {
    line-height: 1.7;
}

.footer-big-contacts {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-big-contacts span {
    display: block;
    color: #888;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dark .footer-big-contacts {
    color: rgba(255, 255, 255, 0.8);
}

.reservation-list-heading {
    text-align: center;
}

.reservation-list-heading__eyebrow {
    margin-bottom: 0.35rem;
    color: var(--heyri-green);
    font-family: var(--heyri-font-title);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
}

.reservation-list-heading__title,
.reservation-list-heading__lead,
.reservation-table th {
    font-family: var(--heyri-font-title);
}

.reservation-list-heading__lead {
    color: var(--heyri-muted);
}

.reservation-alert {
    max-width: 600px;
}

.reservation-table th,
.reservation-table td.is-center {
    text-align: center;
}

.reservation-table th.is-right,
.reservation-table td.is-right {
    text-align: right;
}

.reservation-table .is-date {
    width: 30%;
}

.reservation-table .is-party {
    width: 25%;
}

.site-badge-new {
    font-size: 0.7rem;
    font-weight: 400;
}

.reservation-inline-form {
    max-width: 860px;
    margin: 0 auto 40px;
    padding: 28px clamp(16px, 4vw, 40px);
    border: 1px solid var(--heyri-line);
    border-radius: var(--heyri-radius);
    background: var(--heyri-paper);
    box-shadow: var(--heyri-shadow);
}

.reservation-inline-form__title {
    margin: 0 0 4px;
    color: var(--heyri-ink);
    font-family: var(--heyri-font-title);
    font-size: 1.3rem;
    font-weight: 800;
}

.reservation-inline-form__lead {
    margin: 0 0 20px;
    color: var(--heyri-muted);
    font-size: 0.92rem;
    word-break: keep-all;
}

.reservation-group__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

.reservation-group__layout .reservation-inline-form {
    max-width: none;
    margin: 0;
}

.reservation-group__list {
    order: 2;
    padding: 16px 20px;
    border: 1px solid #ead7c2;
    border-radius: 8px;
    background: #fff3e4;
    font-size: 0.875rem;
}

.reservation-group__form {
    order: 1;
}

/* On mobile, keep each field's label and its input on the same row
   (label left, input right) instead of Bootstrap's default stacked
   layout, and drop the col-6 pairs to a single column -- narrow col-6
   fields on small screens were what forced labels/placeholders onto
   two lines. Desktop keeps the existing 2-column col-6 layout. */
@media (max-width: 767.98px) {
    .reservation-group__form .form-group.col-6,
    .reservation-group__form .form-group.col-12 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 0.6rem;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .reservation-group__form .form-group.col-6>label,
    .reservation-group__form .form-group.col-12>label {
        flex: 0 0 34%;
        margin-bottom: 0;
    }

    .reservation-group__form .form-group.col-6>.form-control,
    .reservation-group__form .form-group.col-12>.form-control {
        flex: 1 1 0;
        min-width: 0;
    }

    .reservation-group__form .form-group.col-6>p,
    .reservation-group__form .form-group.col-12>p {
        flex: 1 1 100%;
        margin-top: 0;
    }

    /* 인원/메모: 라벨 문구가 길거나(인원) 여러 줄 입력이 필요해서(메모)
       라벨과 입력란을 한 줄에 나란히 두지 않고 위/아래 두 줄로 표시. */
    .reservation-group__form .form-group.reservation-group__field--stacked>label,
    .reservation-group__form .form-group.reservation-group__field--stacked>.form-control {
        flex: 1 1 100%;
    }
}

.reservation-group__list-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 12px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(168, 94, 56, 0.1);
    color: var(--heyri-clay);
    font-size: 0.8rem;
    font-weight: 700;
}

.reservation-group__list-title i {
    font-size: 0.85rem;
}

.reservation-group__list .page-link {
    font-size: 0.875rem;
}

/* Bootstrap's default pagination color is its generic blue -- retint it with
   the site's clay accent so it matches everywhere heyri_pagination() is used. */
.pagination {
    --bs-pagination-color: var(--heyri-clay);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--heyri-clay);
    --bs-pagination-hover-border-color: var(--heyri-clay);
    --bs-pagination-active-bg: var(--heyri-clay);
    --bs-pagination-active-border-color: var(--heyri-clay);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(168, 94, 56, 0.25);
}

.reservation-card-list {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.reservation-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--heyri-line);
    border-radius: 10px;
    background: #fffdf8;
}

.reservation-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(168, 94, 56, 0.1);
    color: var(--heyri-clay);
    font-size: 0.9rem;
}

.reservation-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.reservation-card__name {
    overflow: hidden;
    color: var(--heyri-ink);
    font-size: 0.875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reservation-card__meta {
    color: var(--heyri-muted);
    font-size: 0.75rem;
}

.reservation-card__party {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(47, 102, 94, 0.1);
    color: var(--heyri-green);
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .reservation-group__layout {
        grid-template-columns: minmax(380px, 1.3fr) minmax(0, 0.63fr);
    }
}

.is-left {
    text-align: left;
}

.is-center {
    text-align: center;
}

.is-right {
    text-align: right;
}

.site-sidebar-card {
    border-color: #E2711D;
}

.site-sidebar-card__phone {
    color: #E2711D;
}

.site-sidebar-card__time {
    color: #FF9505;
}

.site-sidebar-card__image {
    width: 100%;
}

.notice-summary-table {
    table-layout: fixed;
    font-size: small;
}

.notice-summary-table__no {
    width: 50px;
    text-align: center;
}

.notice-summary-table__date {
    width: 100px;
    text-align: center;
}

.notice-summary-table__title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.notice-summary-table__link {
    color: inherit;
    text-decoration: none;
}

.reservation-summary-table {
    font-size: small;
}

.reservation-summary-table__date {
    width: 130px;
    text-align: center;
}

.reservation-summary-table__new {
    color: #E2711D;
    font-size: 1.2em;
}

.notice-detail__header,
.notice-detail__actions {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.notice-detail__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.notice-detail__content {
    color: #444;
    font-size: 1.02rem;
    line-height: 1.85;
    word-break: keep-all;
}

.standalone-confirm-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.confirm-card {
    max-width: 500px;
    width: 90%;
    padding: 40px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.confirm-card__title {
    font-family: var(--heyri-font-title);
    font-weight: 700;
}

.confirm-card__button {
    border-radius: 50px;
}

.warning-icon {
    margin-bottom: 20px;
    color: #FF3366;
    font-size: 3rem;
}

.section-schedule__lead {
    max-width: min(100%, 860px);
    margin: 0 auto;
    word-break: keep-all;
}

.timeline-simple span {
    word-break: keep-all;
}

.section-schedule__badge {
    letter-spacing: 0.08em;
}

.section-schedule__time {
    width: 60px;
}

.section-schedule__dot {
    width: 16px;
    height: 16px;
    z-index: 2;
}

.section-schedule__line {
    width: 2px;
    height: 100%;
    top: 16px !important;
    z-index: 1;
}

.info-reservation-card__blob {
    width: 300px;
    height: 300px;
    transform: translate(30%, -30%);
    z-index: 0;
}

.info-reservation-card--individual .info-reservation-card__blob {
    background: rgba(220, 53, 69, 0.1);
}

.info-reservation-card--group .info-reservation-card__blob {
    background: rgba(13, 110, 253, 0.1);
}

.info-reservation-card__title {
    letter-spacing: 0;
    font-size: clamp(1.3rem, 1.8vw, 1.75rem);
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
}

.info-reservation-card__eyebrow {
    letter-spacing: 0.08em;
}

.info-reservation-card__list {
    margin-top: 0.25rem;
    line-height: 1.8;
    word-break: keep-all;
}

.info-reservation-card__button {
    width: fit-content;
    white-space: nowrap;
}

.info-reservation-card__inner {
    gap: clamp(1rem, 2.2vw, 1.75rem);
}

.info-reservation-card__body {
    flex: 0 0 min(52%, 300px);
    min-width: 220px;
}

.info-reservation-card__media {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.info-reservation-card__image {
    width: min(100%, 260px);
    height: auto;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.info-reservation-card__image--large {
    width: min(100%, 300px);
    max-height: 260px;
}

.home-site-footer {
    position: relative;
    margin-top: 2.5rem;
    padding-top: 2.25rem;
    padding-bottom: 0.85rem;
    background:
        linear-gradient(135deg, rgba(255, 248, 238, 0.06), transparent 34%),
        linear-gradient(180deg, #2f665e 0%, #234d47 100%);
    color: #f7f1e8;
    border-top: 1px solid rgba(241, 222, 202, 0.32);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -18px 40px rgba(45, 73, 69, 0.12);
    overflow: hidden;
}

.home-site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 245, 235, 0.65), rgba(255, 255, 255, 0));
    opacity: 0.7;
}

.home-site-footer .footer-widgets-wrap {
    padding: 0;
}

.home-site-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.home-site-footer__contact-card {
    padding: 1.7rem 1.5rem;
    border: 1px solid rgba(255, 245, 235, 0.16);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.home-site-footer__eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 221, 192, 0.86);
}

.home-site-footer__brand {
    margin-bottom: 0.55rem;
    color: #fffdf8 !important;
    font-size: clamp(1.05rem, 2vw, 1.8rem);
    line-height: 1.25;
}

.home-site-footer__contacts {
    display: grid;
    gap: 0.7rem;
}

.home-site-footer__contact-item {
    margin-bottom: 0 !important;
}

.home-site-footer__contact-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 186, 148, 0.16);
    color: #ffd7bb;
    box-shadow: inset 0 0 0 1px rgba(255, 221, 192, 0.12);
    flex-shrink: 0;
}

.home-site-footer__contact-text {
    color: rgba(255, 253, 248, 0.92);
    font-size: 0.94rem;
    line-height: 1.5;
}

.home-site-footer__contact-item:last-child .home-site-footer__contact-text {
    font-size: 0.85rem;
}

.home-site-footer__email-ceramic {
    color: #F4A261;
    font-weight: 700;
}

.home-site-footer__email-school {
    color: #48CAE4;
    font-weight: 700;
}

.home-site-footer__nav-col {
    padding: 1.2rem 1.15rem 1rem;
    border: 1px solid rgba(255, 245, 235, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-site-footer__heading {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 216, 189, 0.18);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links {
    margin-bottom: 0;
}

.footer-links li + li {
    margin-top: 0.4rem;
}

.home-site-footer__link {
    color: rgba(255, 253, 248, 0.84);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
    line-height: 1.55;
    word-break: keep-all;
}

.home-site-footer__link:hover {
    color: #fffdf9 !important;
    transform: translateX(4px);
}

.home-site-footer__copyrights {
    margin-top: 1.6rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 245, 235, 0.16);
    background: transparent !important;
}

#copyrights.home-site-footer__copyrights {
    background: rgba(21, 49, 45, 0.22) !important;
}

.home-site-footer__copyright-text,
.home-site-footer__credit {
    color: rgba(255, 253, 248, 0.78) !important;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.home-site-footer__copyright-text {
    text-transform: uppercase;
}

.home-site-footer__link.home-site-footer__link--copyright {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.press-gallery__grid,
.studio-gallery__grid {
    display: grid;
    gap: clamp(0.875rem, 1.8vw, 1.35rem);
}

.press-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.studio-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.press-gallery__card,
.studio-gallery__card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f4efe8;
    box-shadow: 0 12px 26px rgba(66, 49, 34, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.press-gallery__card {
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(126, 104, 81, 0.12);
}

.studio-gallery__card {
    aspect-ratio: 5 / 4;
    border: 1px solid rgba(44, 95, 88, 0.12);
}

.press-gallery__card:hover,
.studio-gallery__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(66, 49, 34, 0.12);
}

.press-gallery__card:hover {
    border-color: rgba(44, 95, 88, 0.2);
}

.studio-gallery__card:hover {
    border-color: rgba(143, 98, 73, 0.2);
}

.press-gallery__image,
.studio-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-gallery__caption,
.studio-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
    color: #fff8f0;
    font-size: 0.85rem;
    font-weight: 600;
}

.press-gallery__back,
.studio-gallery__back {
    display: inline-flex;
    align-items: center;
    color: #8f6249;
    font-weight: 700;
    text-decoration: none;
}

.press-gallery__back:hover,
.studio-gallery__back:hover {
    color: #2c5f58;
    text-decoration: none;
}

.press-gallery__edit,
.studio-gallery__edit {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.press-gallery__edit {
    border: 1px solid rgba(44, 95, 88, 0.25);
    color: #2c5f58;
}

.studio-gallery__edit {
    border: 1px solid rgba(143, 98, 73, 0.3);
    color: #8f6249;
}

.press-gallery__edit:hover {
    background: rgba(44, 95, 88, 0.08);
    color: #244f49;
    text-decoration: none;
}

.studio-gallery__edit:hover {
    background: rgba(143, 98, 73, 0.08);
    color: #6f4c37;
    text-decoration: none;
}

.press-gallery__content,
.studio-gallery__content {
    color: #5c5147;
    line-height: 1.75;
}

@media (min-width: 992px) {
    .home-site-footer__grid {
        grid-template-columns: 3fr 2fr 2fr 2fr;
        gap: 1.5rem 1.25rem;
    }
}

.is-subpage .table {
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.is-subpage .table thead th {
    background: rgba(245, 236, 225, 0.8) !important;
    color: var(--heyri-green) !important;
    border-bottom: 1px solid rgba(168, 94, 56, 0.12) !important;
}

@media (max-width: 991.98px) {
    .home-site-footer {
        border-radius: 8px 8px 0 0;
        padding-top: 2rem;
    }

    .site-subpage__grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-detail__feature {
        grid-template-columns: 1fr;
    }

    .program-detail__gallery,
    .program-detail__gallery--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-list--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-site-footer {
        margin-top: 2rem;
        border-radius: 8px 8px 0 0;
        padding-top: 1.8rem;
    }

    .home-site-footer__contact-card,
    .home-site-footer__nav-col {
        border-radius: 8px;
    }

    .home-site-footer__contact-card {
        padding: 1.2rem 1rem;
    }

    .home-site-footer__contacts {
        gap: 0.55rem;
    }

    .home-site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .home-site-footer__nav-col {
        padding: 0.9rem 0.8rem 0.8rem;
    }

    .home-site-footer__heading {
        margin-bottom: 0.6rem;
        padding: 0.25rem 0.55rem;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .home-site-footer__link {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .home-site-footer__copyrights {
        margin-top: 1.2rem;
        text-align: center;
    }

    .site-subpage__grid--two,
    .site-subpage__grid--three {
        grid-template-columns: 1fr;
    }

    .site-subpage__facts li,
    .site-subpage__meta-list li {
        width: 100%;
    }

    .program-detail__feature-body {
        padding: 1.15rem 0.2rem 0.35rem;
    }

    .program-detail__feature-image {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .program-detail__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-detail__facts li {
        min-height: 74px;
        padding: 0.7rem 0.45rem;
        font-size: 0.88rem;
    }

    .program-detail__gallery,
    .program-detail__gallery--compact {
        gap: 0.65rem;
    }

    .program-detail__step-heading {
        align-items: flex-start;
    }

    .program-detail__step-heading span {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .program-list--cols-2,
    .program-list--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* fp.php, visit.php, and the 단체 menu pages (kp/elementary/small_group/gp):
       one card per row on mobile instead of the shared 2-column default. */
    .page-program-fp .program-list--cols-2,
    .page-program-kp .program-list--cols-3,
    .page-program-elementary .program-list--cols-3,
    .page-program-small_group .program-list--cols-2,
    .page-program-gp .program-list--cols-2,
    .page-program-visit .program-list--cols-2 {
        grid-template-columns: 1fr;
    }

    .program-list-card--split {
        grid-template-columns: 1fr;
    }

    .program-list-card--split .program-list-card__media {
        aspect-ratio: 1 / 1;
    }

    .program-list-card__body {
        padding: 0.85rem;
        gap: 0.55rem;
    }

    .program-list-card__badge {
        min-height: 28px;
        padding: 0.25rem 0.55rem;
        font-size: 0.72rem;
    }

    .program-list-card h3 {
        font-size: clamp(1.02rem, 4.4vw, 1.22rem);
    }

    .program-list-card__subtitle,
    .program-list-card__meta,
    .program-list-card__description {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .program-list-card__price {
        font-size: 1rem;
    }

    .program-list-contact__actions {
        align-items: stretch;
        flex-direction: column;
    }
}
