/* ==========================================================================
   Attractions page (page-attraction.php). Banner: .mr-rp-hero (rooms.css).
   Eyebrows: .mr-qp-eyebrow (home.css). Everything is scoped under .mr-ui.
   ========================================================================== */
.mr-at-main,
.mr-at-more,
.mr-at-cta {
    --mr-at-navy: #00204d;
    --mr-at-line: #e6e9ef;
    --mr-at-tint: #f1f5fa;
    --mr-at-orange: var(--mr-red, #dd7a3c);
}

/* Banner */
.mr-at-hero .mr-rp-hero__title { line-height: 1.12; }
.mr-at-hero .mr-rp-hero__title em { font-style: normal; color: var(--mr-red, #dd7a3c); }
.mr-at-hero__eyebrow { color: var(--mr-red, #dd7a3c); }
.mr-at-hero .mr-rp-hero__content { padding-bottom: 96px; }

/* White sheet that overlaps the bottom of the banner */
.mr-at-main { position: relative; z-index: 2; margin-top: -40px; padding: 22px 0 8px; border-radius: 22px 22px 0 0; background: #fff; }

/* Category tabs */
.mr-at-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    padding: 8px;
    border: 1px solid var(--mr-at-line);
    border-radius: 14px;
    background: var(--mr-at-tint);
}
.mr-at-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 92px;
    padding: 14px 10px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mr-ink-2);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.mr-at-tab + .mr-at-tab::before {
    content: "";
    position: absolute;
    left: 0; top: 26%; bottom: 26%;
    width: 1px;
    background: #dbe3ee;
}
.mr-at-tab.is-active::before,
.mr-at-tab.is-active + .mr-at-tab::before { display: none; }
.mr-at-tab__icon { display: inline-flex; font-size: 26px; color: var(--mr-at-navy); }
.mr-at-tab__icon .mr-icon { stroke-width: 1.7; }
.mr-at-tab:hover { color: var(--mr-ink); }
.mr-at-tab.is-active { background: #fff; color: var(--mr-ink); box-shadow: 0 6px 18px rgba(0, 20, 48, .08); }
.mr-at-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 12px;
    width: 46px; height: 2px;
    margin-left: -23px;
    border-radius: 2px;
    background: var(--mr-at-orange);
}
.mr-at-tab.is-active .mr-at-tab__label { margin-bottom: 8px; }
.mr-at-tab:focus-visible { outline: 2px solid var(--mr-at-orange); outline-offset: 2px; }

/* Featured attraction */
.mr-at-feature {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
    overflow: hidden;
    margin-top: 22px;
    border: 1px solid var(--mr-at-line);
    border-radius: 14px;
    background: linear-gradient(90deg, #f3f7fb 0%, #eef3f9 100%);
}
.mr-at-feature[hidden] { display: none; }
.mr-at-feature__text { display: flex; flex-direction: column; padding: 30px 30px 28px 32px; }
.mr-at-feature__title { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--mr-ink); }
.mr-at-feature__tagline { margin-top: 8px; font-size: 17px; color: var(--mr-ink-2); }
.mr-at-feature__desc { margin-top: 14px; max-width: 520px; font-size: 14px; line-height: 1.7; color: var(--mr-ink-2); }
.mr-at-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.mr-at-stats li { display: flex; align-items: center; gap: 10px; padding: 0 22px; }
.mr-at-stats li:first-child { padding-left: 0; }
.mr-at-stats li + li { border-left: 1px solid #d6dfea; }
.mr-at-stats .mr-icon { flex-shrink: 0; font-size: 20px; color: var(--mr-at-navy); }
.mr-at-stats span { display: flex; flex-direction: column; line-height: 1.25; }
.mr-at-stats strong { font-size: 14px; font-weight: 700; color: var(--mr-ink); }
.mr-at-stats small { font-size: 12px; color: var(--mr-ink-2); }
.mr-at-nearby { margin-top: 18px; padding-top: 14px; border-top: 1px solid #dde5ef; }
.mr-at-nearby__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mr-ink-2); }
.mr-at-nearby ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.mr-at-nearby li { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.mr-at-nearby strong { font-weight: 600; color: var(--mr-ink); }
.mr-at-nearby li span { font-size: 12px; color: var(--mr-ink-2); }
.mr-at-feature__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 22px; }
.mr-ui .mr-btn.mr-at-feature__btn {
    background-color: var(--mr-at-navy);
    background-image: linear-gradient(180deg, #22335a 0%, #14213d 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 33, 61, .18);
}
.mr-ui .mr-btn.mr-at-feature__btn:hover { background-image: linear-gradient(180deg, #2a3d68 0%, #1b2c50 100%); }
.mr-at-note { font-size: 11.5px; color: var(--mr-ink-2); }
.mr-at-feature__media { position: relative; min-height: 340px; }
.mr-at-feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: ellipse(100% 120% at 100% 50%);
}

/* Something for everyone */
.mr-at-more { padding: 44px 0 28px; }
.mr-at-more__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 450px);
    gap: 40px;
    align-items: center;
}
.mr-at-more__title { font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--mr-ink); }
.mr-at-more__title em { font-style: normal; color: var(--mr-red-700, #c4622a); }
.mr-at-more__text { max-width: 520px; margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--mr-ink-2); }
.mr-at-help {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid #f1e3d4;
    border-radius: 14px;
    background: #fbf4ec;
}
.mr-at-help__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(196, 98, 42, .18);
    font-size: 24px;
    color: var(--mr-at-orange);
}
.mr-at-help__title { font-size: 16px; font-weight: 700; color: var(--mr-ink); }
.mr-at-help__text { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--mr-ink-2); }
.mr-at-help__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 14px;
    border: 1px solid var(--mr-at-orange);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mr-red-700, #c4622a);
    transition: background-color .2s ease, color .2s ease;
}
.mr-at-help__btn:hover { background: var(--mr-at-orange); color: #fff; }

.mr-at-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}
.mr-at-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mr-at-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 20, 48, .04);
    transition: box-shadow .25s ease, transform .25s ease;
}
.mr-at-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 20, 48, .1); }
.mr-at-card__media { overflow: hidden; aspect-ratio: 16 / 8; }
.mr-at-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mr-at-card:hover .mr-at-card__media img { transform: scale(1.05); }
.mr-at-card__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 20, 48, .14);
    font-size: 22px;
    color: var(--mr-at-navy);
}
.mr-at-card__body { display: flex; flex: 1; flex-direction: column; padding: 10px 20px 18px; }
.mr-at-card__title { font-size: 17px; font-weight: 700; color: var(--mr-ink); }
.mr-at-card__text { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--mr-ink-2); }
.mr-at-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin-top: auto;
    padding: 14px 0 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--mr-red-700, #c4622a);
    cursor: pointer;
}
.mr-at-card__link .mr-icon { font-size: 14px; transition: transform .2s ease; }
.mr-at-card__link:hover .mr-icon { transform: translateX(3px); }

/* Bottom banner */
.mr-at-cta-wrap { padding: 8px 0 56px; }
.mr-at-cta { position: relative; overflow: hidden; border-radius: 14px; background: var(--mr-at-navy); isolation: isolate; }
.mr-at-cta__img { position: absolute; top: 0; right: 0; z-index: -2; width: 60%; height: 100%; object-fit: cover; }
.mr-at-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #00204d 0%, #00204d 40%, rgba(0, 32, 77, .86) 65%, rgba(0, 32, 77, .55) 100%);
}
.mr-at-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 40px; }
.mr-at-cta__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mr-at-orange); }
.mr-at-cta__title { margin-top: 6px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.mr-at-cta__text { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.mr-ui .mr-btn.mr-at-cta__btn {
    flex-shrink: 0;
    background-color: var(--mr-at-orange);
    background-image: none;
    color: #fff;
    box-shadow: 0 6px 16px rgba(221, 122, 60, .28);
}
.mr-ui .mr-btn.mr-at-cta__btn:hover { background-color: var(--mr-red-700, #c4622a); }

/* Photo credits */
.mr-at-credits { padding: 14px 0; background: #f7f8fa; }
.mr-at-credits p { font-size: 11px; line-height: 1.6; color: #7a8190; }
.mr-at-credits a { color: inherit; text-decoration: underline; text-decoration-color: rgba(122, 129, 144, .45); }
.mr-at-credits a:hover { color: var(--mr-ink); }

/* Responsive */
@media (max-width: 1200px) {
    .mr-at-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; gap: 6px; }
    .mr-at-tab::before { display: none; }
    .mr-at-feature { grid-template-columns: minmax(0, 1fr); }
    .mr-at-feature__media { order: -1; min-height: 260px; }
    .mr-at-feature__media img { clip-path: none; }
    .mr-at-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .mr-at-more__head { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .mr-at-cta__img { width: 100%; }
    .mr-at-cta::before { background: linear-gradient(90deg, #00204d 0%, rgba(0, 32, 77, .9) 60%, rgba(0, 32, 77, .75) 100%); }
}
@media (max-width: 767px) {
    .mr-at-main { margin-top: -28px; border-radius: 18px 18px 0 0; }
    .mr-at-tabs { display: flex; overflow-x: auto; gap: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .mr-at-tab { flex: 0 0 auto; min-width: 118px; min-height: 84px; scroll-snap-align: start; font-size: 12.5px; }
    .mr-at-feature__text { padding: 22px 20px 24px; }
    .mr-at-feature__title { font-size: 25px; }
    .mr-at-feature__media { min-height: 200px; }
    .mr-at-stats { gap: 12px 0; }
    .mr-at-stats li { padding: 0 14px; }
    .mr-at-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
    .mr-at-hero .mr-rp-hero__title { font-size: 32px; }
    .mr-at-nearby ul { grid-template-columns: minmax(0, 1fr); }
    .mr-at-more__title { font-size: 26px; }
    .mr-at-grid { grid-template-columns: minmax(0, 1fr); }
    .mr-at-cta-wrap { padding-bottom: 40px; }
    .mr-at-cta__inner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
    .mr-at-cta__title { font-size: 23px; }
}
