/* ===========================================
   inspiration.css — Discover Inspiration 页级

   加载顺序：brand_landing.css（共用壳）→ 本文件
   本文件只写：Hero 高度差、insp-* 正文（open / rooms / gallery / tables）
   类名前缀 insp-；Section margin 0；不写 :root
   Gallery span 类（hero/side/third/wide）由 BrandModel.span 动态挂上，勿删
   注释约定：只可改措辞，禁止无说明删除
=========================================== */

/* Hero 高度 + Inspiration 略深遮罩 */
body.page-inspiration .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
    min-height: 420px;
    padding: clamp(56px, 8vw, 88px) var(--lp-spacing-lg, 24px);
}

@media (max-width: 767px) {
    body.page-inspiration .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 360px;
        padding: clamp(48px, 10vw, 64px) 20px;
    }

    body.page-inspiration .lp-hero--marketing .lp-hero-subtitle {
        font-size: clamp(0.975rem, 3.4vw, 1.05rem);
    }
}

@media (min-width: 768px) {
    body.page-inspiration .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 500px;
    }
}

@media (min-width: 1024px) {
    body.page-inspiration .lp-hero--marketing.lp-hero--has-bg .lp-hero__bg {
        min-height: 560px;
    }
}

body.page-inspiration .lp-hero--marketing .lp-hero-subtitle {
    max-width: 32rem;
}

/* ── Section 通用 ─────────────────────────── */
.insp-section {
    margin: 0;
    padding: clamp(36px, 4vw, 52px) 0;
    background: #faf8f4;
}

.insp-section--paper {
    background: #fff;
}

.insp-section--stone {
    background: #f3efe7;
}

.insp-section__inner {
    max-width: var(--lp-content-max, 1200px);
    margin: 0 auto;
    padding: 0 var(--lp-spacing-lg, 24px);
}

.insp-kicker {
    display: inline-block;
    margin: 0 0 0.625rem;
    font-family: var(--lp-font);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a7f6e;
}

.insp-heading {
    margin: 0 0 0.75rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--color-primary, #1a2f34);
}

.insp-lead {
    margin: 0 0 0.75rem;
    font-family: var(--lp-font);
    font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.78);
}

.insp-copy {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.72);
}

.insp-line {
    margin: 0.625rem 0 0;
    font-family: var(--lp-font);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(26, 47, 52, 0.62);
}

/* ── Open：限宽分栏（非视口全宽 bleed）───────── */
.insp-section--open {
    padding: clamp(28px, 3.5vw, 40px) 0;
    background: #fff;
}

.insp-section__inner--open {
    /* 与其它区块同一 max-width，左右留白 */
    max-width: var(--lp-content-max, 1200px);
}

.insp-open {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 2px;
    background: #faf8f4;
}

.insp-open__media {
    margin: 0;
    overflow: hidden;
    background: #ebe6dc;
    min-height: 280px;
}

.insp-open__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
}

.insp-open__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.5vw, 40px) clamp(22px, 3.5vw, 40px);
    text-align: left;
    background: #faf8f4;
}

.insp-open__copy .insp-heading {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    margin-bottom: 0.875rem;
}

.insp-open__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 1.25rem;
    min-height: 2.75rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--lp-font);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    background: var(--color-primary, #1a2f34);
    border: 1px solid var(--color-primary, #1a2f34);
    border-radius: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}

.insp-open__cta:hover {
    background: transparent;
    color: var(--color-primary, #1a2f34);
}

/* 常规区块标题：kicker + heading（+ subtitle）居中 */
.insp-section-head--center {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(22px, 3vw, 32px);
    text-align: center;
}

.insp-section-head--center .insp-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ── Rooms：三列氛围卡 ────────────────────── */
.insp-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
}

.insp-room {
    margin: 0;
    background: transparent;
    border: none;
}

.insp-room__media {
    margin: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #ebe6dc;
}

.insp-room__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.insp-room__body {
    padding: 14px 2px 0;
}

.insp-room__body h3 {
    margin: 0 0 0.375rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.15rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-primary, #1a2f34);
}

.insp-room__body p {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.72);
}

/* ── Gallery：6 图整齐不规则（定高 bento）────
   桌面 12 列：
   Row1  hero(8) + side(4)     高 300
   Row2  third×3               高 240
   Row3  wide(12)              高 260
   ───────────────────────────────────────── */
.insp-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.insp-gallery__item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #ebe6dc;
}

/* 首行大图 + 侧图（同高，行面对齐） */
.insp-gallery__item--hero {
    grid-column: span 8;
    height: 300px;
}

.insp-gallery__item--side {
    grid-column: span 4;
    height: 300px;
}

/* 中行三等分 */
.insp-gallery__item--third {
    grid-column: span 4;
    height: 240px;
}

/* 末行通栏 */
.insp-gallery__item--wide {
    grid-column: span 12;
    height: 260px;
}

.insp-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insp-gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem 0.75rem 0.625rem;
    font-family: var(--lp-font);
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(transparent, rgba(20, 24, 22, 0.55));
    pointer-events: none;
}

/* ── Tables：横滑 ─────────────────────────── */
.insp-tables-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.insp-tables-card {
    flex: 0 0 min(300px, 78vw);
    scroll-snap-align: start;
    overflow: hidden;
    background: #fff;
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .insp-tables-card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

.insp-tables-card__media {
    overflow: hidden;
}

.insp-tables-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

/* 卡片正文：左右留白，避免贴边 */
.insp-tables-card__body {
    padding: 18px 20px 20px;
}

.insp-tables-card__body h3 {
    margin: 0 0 0.5rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-primary, #1a2f34);
}

.insp-tables-card__body p {
    margin: 0 0 0.625rem;
    font-family: var(--lp-font);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(26, 47, 52, 0.72);
}

.insp-tables-card__meta {
    margin: 0 !important;
    font-family: var(--lp-font) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a7f6e !important;
}

/* ── 响应式（insp-*；Hero 按钮列布局在 brand_landing.css）── */
@media (max-width: 992px) {
    /* Open：单列堆叠；文案顶对齐，消灭图下文上大块空白 */
    .insp-section--open {
        padding: 20px 0 28px;
    }

    .insp-open {
        grid-template-columns: 1fr;
        background: transparent;
    }

    .insp-open__media {
        min-height: 0;
        border-radius: 2px 2px 0 0;
        background: #ebe6dc;
    }

    .insp-open__media img {
        min-height: 0;
        max-height: none;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .insp-open__copy {
        justify-content: flex-start;
        padding: 20px 18px 22px;
        background: #faf8f4;
        border-radius: 0 0 2px 2px;
    }

    .insp-open__copy .insp-heading {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }

    .insp-open__cta {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .insp-rooms-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .insp-room__media img {
        aspect-ratio: 16 / 10;
    }

    .insp-section {
        padding: clamp(28px, 6vw, 40px) 0;
    }

    .insp-gallery__item--hero,
    .insp-gallery__item--side,
    .insp-gallery__item--third,
    .insp-gallery__item--wide {
        grid-column: span 6;
        height: 200px;
    }
}

@media (max-width: 640px) {
    .insp-gallery__item--hero,
    .insp-gallery__item--side,
    .insp-gallery__item--third,
    .insp-gallery__item--wide {
        grid-column: span 12;
        height: 180px;
    }

    .insp-gallery__item figcaption {
        font-size: 0.75rem;
        padding: 20px 10px 8px;
    }

    .insp-tables-card__body {
        padding: 16px 16px 18px;
    }
}
