/**
 * 平潭旅游页（/travel/）样式
 *
 * 由 haitan-pages 插件提供，仅在 page-travel.php 模板下加载（句柄 haitan-pages-travel）。
 * 约定（与 assets/css/pingtan.css、tianqi.css 保持一致）：
 *   - 所有选择器都带 ptt- 前缀或挂在 .ptt-page 下，不覆盖 JustNews 全局样式
 *   - 不复用主题的 .container / .row / .card 等通用类
 *   - 不引入任何第三方 CSS 框架，字体不写死、继承站点 body
 *   - 页面本身零 JS
 *
 * 设计目标：现代、本地、轻旅游、实用；避免新闻门户/政府网站风格与满屏 Banner。
 *
 * 目录：
 *   1. 变量与基础
 *   2. 容器与分区
 *   3. Hero
 *   4. 通用元件
 *   5. 第一次来平潭（4 卡）+ 热门景点
 *   6. 来平潭可以怎么玩（场景卡）
 *   7. 今天适合怎么玩
 *   8. 先选一条路线
 *   9. 平潭蓝眼泪
 *  10. 美食 / 交通（主题标签）
 *  11. 来平潭住哪里
 *  12. 平潭旅游攻略（动态文章）
 *  13. 还想了解？（认识平潭 / 平潭岚点）
 *  14. 响应式
 */

/* ------------------------------------------------------------------ 1. 变量 */

.ptt-page {
    --ptt-blue: #1684d8;
    --ptt-blue-deep: #0d6aa8;
    --ptt-ink: #16324a;
    --ptt-text: #46647a;
    --ptt-muted: #7d97a9;
    --ptt-line: #e4eef6;
    --ptt-line-soft: #eef5fa;
    --ptt-surface: #ffffff;
    --ptt-surface-soft: #f5faff;
    --ptt-tag-bg: #edf6fd;
    --ptt-tag-ink: #2c6a94;
    --ptt-good: #1f9d63;
    --ptt-ok: #3f9bd8;
    --ptt-fair: #c98a1c;
    --ptt-bad: #c9603f;
    --ptt-radius-l: 14px;
    --ptt-radius-m: 10px;
    --ptt-radius-s: 8px;
    --ptt-gap: 12px;

    display: block;
    width: 100%;
    max-width: 100%;
    /* 防止任何子元素把页面撑出横向滚动条 */
    overflow-x: clip;
    padding-bottom: 24px;
    color: var(--ptt-text);
    background: var(--ptt-surface-soft);
}

/*
 * 作用域内的 box-sizing 复位。
 * 本页大量使用「width:100% + padding」的写法，这依赖 border-box；
 * 显式声明让本页样式自洽，不依赖外部前提。选择器限定在 .ptt-page 内。
 */
.ptt-page,
.ptt-page *,
.ptt-page *::before,
.ptt-page *::after {
    box-sizing: border-box;
}

.ptt-page img {
    max-width: 100%;
}

/* 长标题、长描述允许在必要时断行 */
.ptt-page .ptt-title,
.ptt-page .ptt-scene-desc,
.ptt-page .ptt-first-desc,
.ptt-page .ptt-route-desc,
.ptt-page .ptt-stay-desc,
.ptt-page .ptt-story-title,
.ptt-page .ptt-metric-value,
.ptt-page .ptt-today-scene-reason,
.ptt-page .ptt-feature-text {
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------- 2. 容器与分区 */

.ptt-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}

/*
 * 面包屑并入 Hero 内容容器：与标题左对齐、上下留白收紧，不再生成主题 .wrap 的独立全宽色带。
 * 主题关了面包屑时不加 .ptt-hero-with-breadcrumb，Hero 恢复自身默认内边距。
 */
.ptt-page .ptt-hero.ptt-hero-with-breadcrumb {
    padding-top: 20px;
}

.ptt-page .ptt-breadcrumb {
    margin: 0 0 16px;
    text-align: left;
}

.ptt-page .ptt-breadcrumb .breadcrumb {
    margin: 0;
}

@media (min-width: 768px) {
    .ptt-page .ptt-hero.ptt-hero-with-breadcrumb {
        padding-top: 22px;
    }
}

.ptt-section {
    padding: 32px 0 0;
}

.ptt-head {
    margin: 0 0 16px;
}

/* 蓝色竖条标题，与站点 JustNews 的小节标题风格保持一致 */
.ptt-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ptt-ink);
}

.ptt-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    margin-right: 9px;
    vertical-align: -2px;
    background: var(--ptt-blue);
    border-radius: 2px;
}

.ptt-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ptt-muted);
}

.ptt-grid {
    display: grid;
    gap: var(--ptt-gap);
}

/* ------------------------------------------------------------- 3. Hero */

.ptt-hero {
    padding: 40px 0 30px;
    text-align: center;
    background: linear-gradient(180deg, #e6f3fd 0%, #f2f9ff 58%, var(--ptt-surface-soft) 100%);
    border-bottom: 1px solid var(--ptt-line);
}

.ptt-hero-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--ptt-blue);
}

.ptt-hero-title {
    margin: 0 0 10px;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .04em;
    color: var(--ptt-ink);
}

.ptt-hero-sub {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ptt-ink);
}

.ptt-hero-lead {
    max-width: 620px;
    margin: 0 auto 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ptt-text);
}

.ptt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/*
 * Hero 里的地图入口（文字链，不是按钮）。
 * 刻意不做成第三个按钮：hero 只留两个主按钮，第三个会在 375px 下孤行。
 */
.ptt-hero-map {
    margin: 16px 0 0;
    text-align: center;
}

.ptt-hero-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--ptt-blue);
    text-decoration: none;
    background: rgba(255, 255, 255, .72);
    border: 1px dashed #b9dcf5;
    border-radius: 999px;
}

.ptt-hero-map-link:hover {
    color: var(--ptt-blue-deep);
    background: #fff;
    border-color: var(--ptt-blue);
}

/* --------------------------------------------------------- 4. 通用元件 */

.ptt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background .18s, border-color .18s, color .18s;
}

.ptt-btn-primary {
    color: #fff;
    background: var(--ptt-blue);
    border-color: var(--ptt-blue);
}

.ptt-btn-primary:hover {
    color: #fff;
    background: var(--ptt-blue-deep);
    border-color: var(--ptt-blue-deep);
}

.ptt-btn-ghost {
    color: var(--ptt-blue-deep);
    background: var(--ptt-surface);
    border-color: #bcdcf4;
}

.ptt-btn-ghost:hover {
    color: var(--ptt-blue);
    border-color: var(--ptt-blue);
}

.ptt-btn-sm {
    min-height: 38px;
    padding: 0 18px;
    font-size: 13px;
}

.ptt-more {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ptt-blue);
}

.ptt-note {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--ptt-muted);
}

.ptt-after {
    margin: 16px 0 0;
}

/* --------------------------------------- 5. 第一次来平潭 + 热门景点 */

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

.ptt-first-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
    transition: border-color .18s, transform .18s, box-shadow .18s;
}

.ptt-first-card:hover {
    border-color: #a8d3f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -14px rgba(22, 90, 140, .5);
}

.ptt-first-emoji {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1;
}

.ptt-first-title {
    margin: 0 0 5px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ptt-ink);
}

.ptt-first-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ptt-text);
}

/* 热门景点：只做入口，不做列表页 */
.ptt-poi {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--ptt-line);
}

.ptt-poi-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.ptt-poi-heading {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ptt-ink);
}

.ptt-poi-more {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ptt-blue);
    text-decoration: none;
}

.ptt-poi-more:hover {
    color: var(--ptt-blue-deep);
    text-decoration: underline;
}

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

.ptt-poi-card {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-m);
    transition: border-color .18s, box-shadow .18s;
}

.ptt-poi-card:hover {
    border-color: #a8d3f0;
    box-shadow: 0 8px 20px -16px rgba(22, 90, 140, .5);
}

.ptt-poi-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dceefa 0%, #eef7fe 100%);
}

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

.ptt-poi-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ptt-poi-name {
    display: block;
    padding: 9px 11px 11px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ptt-ink);
}

/* --------------------------------------------- 6. 来平潭可以怎么玩 */

/* 2 列起步，首卡横跨整行 —— 5 张卡排成 1 + 2 + 2，不留孤卡 */
.ptt-grid-scene {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ptt-grid-scene > .ptt-scene-card:first-child {
    grid-column: span 2;
}

.ptt-scene-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
    transition: border-color .18s, box-shadow .18s;
}

.ptt-scene-card:hover {
    border-color: #a8d3f0;
    box-shadow: 0 10px 24px -16px rgba(22, 90, 140, .55);
}

.ptt-scene-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #dceefa 0%, #eef7fe 100%);
}

/* 首卡更宽，用更扁的比例，保证它与同排单列卡的高度接近 */
.ptt-grid-scene > .ptt-scene-card:first-child .ptt-scene-media {
    aspect-ratio: 32 / 10;
}

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

.ptt-scene-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.ptt-scene-emoji {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 15px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
}

.ptt-scene-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 15px 16px;
}

.ptt-scene-title {
    margin-bottom: 6px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ptt-ink);
}

.ptt-scene-desc {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--ptt-text);
}

.ptt-scene-items {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.ptt-chip {
    padding: 5px 9px;
    font-size: 12px;
    line-height: 1;
    color: var(--ptt-tag-ink);
    background: var(--ptt-tag-bg);
    border-radius: var(--ptt-radius-s);
}

/* ------------------------------------------------- 7. 今天适合怎么玩 */

.ptt-today-card {
    padding: 18px;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
}

.ptt-today-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ptt-line-soft);
}

.ptt-today-icon {
    flex: none;
    font-size: 34px;
    line-height: 1;
}

.ptt-today-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ptt-today-date {
    font-size: 12px;
    line-height: 1.4;
    color: var(--ptt-muted);
}

.ptt-today-cond {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ptt-ink);
}

.ptt-today-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ptt-metric {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    padding: 10px 12px;
    background: var(--ptt-surface-soft);
    border-radius: var(--ptt-radius-m);
}

.ptt-metric-label {
    flex: none;
    min-width: 78px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ptt-muted);
}

.ptt-metric-label span {
    margin-right: 5px;
    font-size: 13px;
}

.ptt-metric-value {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ptt-ink);
}

.ptt-today-scenes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.ptt-today-scene {
    padding: 11px 12px;
    background: var(--ptt-surface-soft);
    border-left: 3px solid var(--ptt-line);
    border-radius: var(--ptt-radius-s);
}

.ptt-today-scene-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ptt-today-scene-emoji {
    font-size: 14px;
    line-height: 1;
}

.ptt-today-scene-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ptt-ink);
}

.ptt-today-scene-label {
    margin-left: auto;
    padding: 3px 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--ptt-tag-ink);
    background: var(--ptt-tag-bg);
    border-radius: 999px;
}

.ptt-today-scene-reason {
    display: block;
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ptt-text);
}

/* 四档结论用左侧色条区分（涨跌无关，只是等级色） */
.ptt-lv-good { border-left-color: var(--ptt-good); }
.ptt-lv-ok   { border-left-color: var(--ptt-ok); }
.ptt-lv-fair { border-left-color: var(--ptt-fair); }
.ptt-lv-bad  { border-left-color: var(--ptt-bad); }

.ptt-today-summary {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ptt-text);
}

.ptt-today-empty {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ptt-text);
}

.ptt-today-actions {
    margin: 16px 0 0;
}

/* --------------------------------------------- 8. 先选一条路线 */

.ptt-grid-route {
    grid-template-columns: minmax(0, 1fr);
}

.ptt-route-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-m);
    transition: border-color .18s, background .18s;
}

.ptt-route-card:hover {
    background: #fbfdff;
    border-color: #a8d3f0;
}

.ptt-route-emoji {
    flex: none;
    font-size: 20px;
    line-height: 1;
}

.ptt-route-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ptt-route-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ptt-ink);
}

.ptt-route-desc {
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ptt-muted);
}

.ptt-route-arrow {
    flex: none;
    font-size: 14px;
    color: var(--ptt-blue);
}

/* ------------------------------------------------- 9. 平潭蓝眼泪 */

.ptt-feature {
    padding: 18px;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
}

.ptt-feature-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--ptt-text);
}

.ptt-feature-actions {
    margin: 16px 0 0;
}

/* -------------------------------------------- 10. 美食 / 交通标签 */

.ptt-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ptt-topic {
    padding: 9px 14px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ptt-tag-ink);
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: 999px;
    transition: border-color .18s, color .18s;
}

.ptt-topic:hover {
    color: var(--ptt-blue);
    border-color: #a8d3f0;
}

/* ------------------------------------------------ 11. 来平潭住哪里 */

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

.ptt-stay-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
    transition: border-color .18s, transform .18s;
}

.ptt-stay-card:hover {
    border-color: #a8d3f0;
    transform: translateY(-2px);
}

.ptt-stay-emoji {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1;
}

.ptt-stay-title {
    margin: 0 0 5px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ptt-ink);
}

.ptt-stay-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ptt-text);
}

/* ------------------------------------------- 12. 平潭旅游攻略（动态） */

.ptt-grid-story {
    grid-template-columns: minmax(0, 1fr);
}

.ptt-story-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
    transition: border-color .18s, box-shadow .18s;
}

.ptt-story-card:hover {
    border-color: #a8d3f0;
    box-shadow: 0 10px 24px -18px rgba(22, 90, 140, .5);
}

.ptt-story-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #dceefa 0%, #eef7fe 100%);
}

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

.ptt-story-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.ptt-story-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 13px 15px 15px;
}

.ptt-story-cat {
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 11.5px;
    line-height: 1;
    color: var(--ptt-tag-ink);
    background: var(--ptt-tag-bg);
    border-radius: 6px;
}

.ptt-story-title {
    display: -webkit-box;
    flex: 1;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ptt-ink);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ptt-story-date {
    font-size: 12px;
    line-height: 1.5;
    color: var(--ptt-muted);
}

/* ------------------------------------------- 13. 还想了解？ */

.ptt-ask {
    padding: 32px 0 8px;
}

.ptt-ask-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px;
    color: #fff;
    background: linear-gradient(135deg, #0f6ea8 0%, #1684d8 100%);
    border-radius: var(--ptt-radius-l);
}

.ptt-ask-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .78);
}

.ptt-ask-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.ptt-ask-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
}

.ptt-ask-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ptt-ask-card .ptt-btn-primary {
    color: var(--ptt-blue-deep);
    background: #fff;
    border-color: #fff;
}

.ptt-ask-card .ptt-btn-primary:hover {
    color: var(--ptt-blue-deep);
    background: #f0f8ff;
    border-color: #f0f8ff;
}

.ptt-ask-card .ptt-btn-ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
}

.ptt-ask-card .ptt-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

/* 后台正文区（运营补充说明，可选用） */
.ptt-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--ptt-text);
    background: var(--ptt-surface);
    border: 1px solid var(--ptt-line);
    border-radius: var(--ptt-radius-l);
}

.ptt-content h2 {
    margin: 18px 0 8px;
    font-size: 18px;
    color: var(--ptt-ink);
}

.ptt-content h3 {
    margin: 16px 0 8px;
    font-size: 16px;
    color: var(--ptt-ink);
}

.ptt-content p {
    margin: 0 0 12px;
}

.ptt-content ul,
.ptt-content ol {
    margin: 0 0 12px;
    padding-left: 20px;
}

/* ----------------------------------------------------------- 14. 响应式 */

@media (min-width: 560px) {
    /* 指标条在窄屏单列（潮汐那一行文案较长），到 560 起可以两列 */
    .ptt-today-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .ptt-grid-poi {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .ptt-grid-stay {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .ptt-today-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ptt-today-scenes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ptt-ask-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 26px 28px;
    }

    .ptt-ask-actions {
        flex: none;
    }
}

@media (min-width: 992px) {
    .ptt-grid-first {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* 3 列 + 首卡跨 2 列 → 5 张场景卡排成 2 + 3，不留孤卡 */
    .ptt-grid-scene {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ptt-grid-story {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ptt-section {
        padding: 26px 0 0;
    }

    .ptt-hero {
        padding: 28px 0 22px;
    }

    .ptt-hero-title {
        font-size: 30px;
    }

    .ptt-hero-sub {
        font-size: 15px;
    }

    .ptt-hero-lead {
        font-size: 13.5px;
    }

    .ptt-title {
        font-size: 19px;
    }

    .ptt-title::before {
        height: 16px;
    }

    .ptt-today-card,
    .ptt-feature,
    .ptt-content {
        padding: 16px;
    }

    .ptt-ask {
        padding: 26px 0 4px;
    }

    .ptt-ask-card {
        padding: 22px 16px;
    }
}

/* 小屏：场景卡回落单列，避免文字被挤成竖排 */
@media (max-width: 560px) {
    .ptt-grid-scene {
        grid-template-columns: minmax(0, 1fr);
    }

    .ptt-grid-scene > .ptt-scene-card:first-child {
        grid-column: auto;
    }

    .ptt-grid-scene > .ptt-scene-card:first-child .ptt-scene-media {
        aspect-ratio: 16 / 10;
    }

    .ptt-metric-label {
        min-width: 0;
    }
}

/*
 * 手机首屏压缩：Hero 目标 ≤300px，让用户不用滚动就能看到下面的内容。
 * 两个主按钮在 375px 下用「缩小内边距」保持一行，只有在极窄屏（≤320px）才改为纵向铺满。
 */
@media (max-width: 420px) {
    .ptt-hero {
        padding: 24px 0 18px;
    }

    .ptt-hero-actions {
        gap: 8px;
    }

    .ptt-btn {
        padding: 0 16px;
    }

    .ptt-hero-lead {
        margin-bottom: 16px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .ptt-hero-title {
        font-size: 27px;
    }
}

@media (max-width: 320px) {
    .ptt-hero-actions {
        flex-direction: column;
    }

    .ptt-hero-actions .ptt-btn {
        width: 100%;
    }
}
