/* Public homepage only. Existing reservation routes and shared plugins are unchanged. */
@media (min-width: 992px) {
    #header .logo { margin-top: 10px; }
    #main-menu > ul.menu > li > a { line-height: 66px; }
}
#slideshow.home-hero {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 24px 0 48px;
    isolation: isolate;
    color: #fff;
    background-color: #2d3e52;
}
#slideshow.home-hero::before {
    background: linear-gradient(90deg, rgb(14 37 48 / 48%), rgb(14 37 48 / 18%) 55%, transparent);
}
#slideshow.home-hero .hero-background {
    object-fit: cover;
    object-position: center;
}
#slideshow.home-hero .home-hero-heading { display: flex; align-items: center; gap: 24px; max-width: 850px; margin-bottom: 24px; }
#slideshow.home-hero .hero-logo { display: block; flex: 0 0 auto; width: 100px; height: auto; max-height: none; margin: 0; }
#slideshow.home-hero #hero-title {
    max-width: 740px;
    margin: 0;
    min-width: 0;
    font-size: clamp(34px, 4.5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 5px rgb(0 0 0 / 55%);
}
#slideshow.home-hero .hero-description { max-width: 650px; color: #fff; text-shadow: 0 1px 4px rgb(0 0 0 / 80%); }
#slideshow.home-hero .hero-description p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
#slideshow.home-hero a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 50px;
    padding: 15px 24px;
    margin-top: 22px !important;
    border-radius: 10px;
    background: #c93632;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .02em;
    white-space: normal;
    box-shadow: 0 8px 22px rgb(0 0 0 / 12%);
}
#slideshow.home-hero a.button:hover { background: #ab2926; }
@media (min-width: 992px) {
    #slideshow.home-hero { min-height: 700px; padding: 20px 0 48px; }
    #slideshow.home-hero .home-hero-heading { gap: 18px; margin-bottom: 16px; }
    #slideshow.home-hero .hero-logo { width: 72px; }
    #slideshow.home-hero #hero-title { font-size: clamp(30px, 3vw, 48px); }
    #slideshow.home-hero .hero-description { max-width: 900px; }
    #slideshow.home-hero .hero-description p { font-size: 15px; line-height: 1.45; }
}
#content.home-content { padding: 0; background: #f6f8fa; }
.home-content .home-audioguide {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 3px 28px;
    align-items: center;
    margin-top: -32px;
    padding: 24px 30px;
    border: 1px solid #e5ebef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 35px rgb(23 48 65 / 6%);
}
.home-audioguide p { grid-column: 1; margin: 0 !important; font-size: 14px; line-height: 1.5; color: #52636e; }
.home-audioguide p:first-child { color: #1f3e4b; font-weight: 700; }
.home-audioguide img { grid-column: 2; grid-row: 1 / 4; width: 88px; height: 88px; }
.home-content .offers { padding: 64px 0; }
.home-content .home-section-title { max-width: 730px; margin: 0 auto 36px; color: #203e4b; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; text-align: center; font-weight: 700; text-wrap: balance; }
.home-course-grid { row-gap: 26px; }
.home-course-grid > [class*="col-"] { display: flex; }
.home-course-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 16px; border: 1px solid #e3e9ed; background: #fff; box-shadow: 0 4px 18px rgb(23 48 65 / 4%); }
.home-course-card figure { margin: 0; width: 100%; overflow: hidden; }
.home-course-card figure a { display: block; }
.home-course-card figure img { display: block; width: 100%; height: 210px; object-fit: cover; transition: transform .25s ease; }
.home-course-card:hover figure img { transform: scale(1.035); }
.home-course-card .details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-course-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.25; color: #203e4b; }
.home-course-card p { margin: 0 0 22px; color: #52636e; font-size: 15px; line-height: 1.6; }
.home-course-card a.button { display: inline-flex; align-items: center; min-height: 42px; height: auto; padding: 10px 16px; margin-top: auto; background: #e8f3f4; color: #195361; border-radius: 8px; font-size: 12px; line-height: 1.5; white-space: normal; }
.home-course-card a.button:hover { background: #d4e9ec; color: #123e48; }
.home-video { margin-top: 24px; }
.home-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #203e4b; }
#slideshow.home-hero a:focus-visible, .home-content a:focus-visible { outline: 3px solid #38bdf8; outline-offset: 4px; }
@media (max-width: 767.98px) {
    #slideshow.home-hero { min-height: 0; padding: 32px 0 68px; }
    #slideshow.home-hero::before { background: linear-gradient(90deg, rgb(14 37 48 / 48%), rgb(14 37 48 / 24%)); }
    #slideshow.home-hero .home-hero-heading { gap: 14px; }
    #slideshow.home-hero .hero-logo { width: 62px; }
    #slideshow.home-hero #hero-title { font-size: clamp(27px, 5vw, 34px); }
    #slideshow.home-hero .hero-description p { font-size: 15px; }
    .home-content .home-audioguide { padding: 18px; gap: 5px 14px; }
    .home-audioguide p { font-size: 12px; }
    .home-content .offers { padding: 40px 0; }
    .home-course-card figure img { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-course-card figure img { transition: none; }
    .home-course-card:hover figure img { transform: none; }
}
