/* About Intro Section */
.about-intro {
    padding: 56px 20px;
    background: #fff;
    margin-top: 24px;
}

.about-intro__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center; /* 與右側圖片垂直置中 */
}

/* 文案：縮小字級、綠色系、段落間距清爽（比照首頁 about-section 風格） */
.about-intro__text {
    color: #2c5530; /* 深綠文字 */
    padding: 0;     /* 無外框卡片 */
}

.about-intro__text h2 {
    font-size: 26px;
    line-height: 1.25;
    color: #4a7c59; /* 主標綠 */
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    font-weight: 700;
}

.about-intro__text .lead {
    font-size: 14px;          /* 內文字級 */
    line-height: 1.6;         /* 好讀行距 */
    color: #6b8e23;           /* 內文深灰 */
    margin: 6px 0 14px;       /* 段落間距 */
    font-weight: 200;         /* 輕量，清爽 */
}

/* 可用於分段小標（若需要更強層級可用 h3 並套此類） */
.about-intro__text .title {
    font-size: 18px;
    margin: 10px 0 10px;
    color: #4a7c59;           /* 主綠 */
    position: relative;
    padding-left: 10px;
    font-weight: 700;
}
.about-intro__text .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, #4a7c59, #6b8e23); /* 綠色漸層裝飾 */
    transform: translateY(-50%);
    border-radius: 2px;
}

/* 英文副標或識別文字、或章節小標（about.html 使用 h4.subtitle 亦可） */
.about-intro__text .subtitle {
    font-size: 16px;
    color: #6b8e23;           /* 次綠 */
    margin: 10px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* 清爽列表樣式（如特色要點） */
.feature-list {
    margin: 0 0 10px 0;
    padding-left: 18px;
    list-style: none;
}
.feature-list li {
    position: relative;
    padding-left: 8px;
    line-height: 1.8;
    color: #555555;
    font-size: 14px;
}
.feature-list li::before {
    content: "•";
    color: #4a7c59;           /* 主綠色點 */
    position: absolute;
    left: -2px;
}

/* 照片格狀 */
.about-intro__gallery .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.about-intro__gallery .grid__item {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.about-intro__gallery .grid__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* 快速連結按鈕區 */
.quick-links {
    position: relative;
    z-index: 1;
    padding-top: 108px;    /* 預留導覽高度 */
    margin: 4px 0 8px;   /* 與上下區塊留白 */
    padding-left: 20px;
    padding-right: 20px;
}

.f-quick-links {
    margin: 4px 0 8px;      /* 縮小上下間距 */
    padding-top: 0;         /* 不需預留導覽高度（頁尾上方） */
}

.quick-links__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* 置中按鈕列 */
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ql-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;    /* 小尺寸 */
    border-radius: 12px;
    text-decoration: none;
    color: #2c5530;
    background: #fff;
    border: 1px solid #e3efe3;
    box-shadow: 0 2px 8px rgba(74,124,89,0.08);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;  /* 防止換行撐寬 */
    max-width: none;      /* 確保不被撐成全寬 */
}
.ql-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(74,124,89,0.14);
    background: #f8fcf8;
}
.ql-icon { font-size: 14px; line-height: 1; }

/* About Intro 分隔標題樣式（外框移除、雙行、上下配色與粗細） */
.about-intro__header {
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 0 20px;
    text-align: center;
}
.about-intro__heading {
    display: inline-flex;
    flex-direction: column;     /* 兩行 */
    gap: 4px;
    padding: 0;                 /* 外框移除 */
    background: transparent;    /* 外框移除 */
    border: 0;                  /* 外框移除 */
    box-shadow: none;           /* 外框移除 */
    position: relative;
    align-items: center;
}
.about-intro__heading::before,
.about-intro__heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(74,124,89,.25), rgba(74,124,89,0));
    transform: translateY(-50%);
}
.about-intro__heading::before { left: -48px; }
.about-intro__heading::after  { right: -48px; transform: translateY(-50%) scaleX(-1); }

.heading-zh {
    font-size: 24px;            /* 放大中文 */
    line-height: 1.15;
    color: #2c5530;             /* 上深 */
    font-weight: 800;           /* 上粗 */
    letter-spacing: .5px;
}
.heading-en {
    font-size: 16px;            /* 次要英文 */
    line-height: 1.1;
    color: #6b8e23;             /* 下淺 */
    font-weight: 500;           /* 下細 */
    text-transform: lowercase;
    letter-spacing: .8px;
}

/* 營區地圖 Section */
.camp-map {
    padding: 56px 20px;
    background: #fff;
    margin-top: 24px;
}
.camp-map__header {
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 0 20px;
    text-align: center;
}
.camp-map__heading {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}
.camp-map .heading-zh {
    font-size: 24px;
    line-height: 1.15;
    color: #2c5530;
    font-weight: 800;
    letter-spacing: .5px;
}
.camp-map .heading-en {
    font-size: 16px;
    line-height: 1.1;
    color: #6b8e23;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: lowercase;
}
.camp-map__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center; /* 置中圖片 */
}
.camp-map__image {
    max-width: 900px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    object-fit: cover;
}

.camp-map__heading {
    position: relative;
}
.camp-map__heading::before,
.camp-map__heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(74,124,89,.25), rgba(74,124,89,0));
    transform: translateY(-50%);
}
.camp-map__heading::before { left: -48px; }
.camp-map__heading::after  { right: -48px; transform: translateY(-50%) scaleX(-1); }

/* 交通指南 Section（風格、隔線、置中、三圖格線） */
.traffic-guide {
    padding: 56px 20px;
    background: #fff;
    margin-top: 24px;
}
.traffic-guide__header {
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 0 20px;
    text-align: center;
}
.traffic-guide__heading {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    position: relative; /* 加隔線 */
}
.traffic-guide .heading-zh {
    font-size: 24px;
    line-height: 1.15;
    color: #2c5530;
    font-weight: 800;
    letter-spacing: .5px;
}
.traffic-guide .heading-en {
    font-size: 16px;
    line-height: 1.1;
    color: #6b8e23;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: lowercase;
}
/* 同樣的左右漸變隔線 */
.traffic-guide__heading::before,
.traffic-guide__heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(74,124,89,.25), rgba(74,124,89,0));
    transform: translateY(-50%);
}
.traffic-guide__heading::before { left: -48px; }
.traffic-guide__heading::after  { right: -48px; transform: translateY(-50%) scaleX(-1); }

.traffic-guide__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.traffic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    justify-items: center; /* 圖片容器置中 */
}
.traffic-img {
    width: 100%;
    max-width: 360px;
    height: auto;          /* 以原比例縮放 */
    aspect-ratio: auto;    /* 取消固定比例 */
    object-fit: contain;   /* 不裁切，完整呈現 */
    background: #fff;      /* 避免留白時底色干擾 */
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: block;
}

/* 交通指南圖片可點擊提示 */
.traffic-img {
    cursor: zoom-in;
}

/* 燈箱樣式 */
.lightbox[aria-hidden="true"] { display: none; }
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    justify-content: center;
    z-index: 1000;
    align-items: center;           /* 垂直置中 */
    padding: 32px 20px 32px;       /* 上下留白避免被切 */
    box-sizing: border-box;
}
.lightbox__content {
    position: relative;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 64px); /* 扣除上下 32px padding */
}
.lightbox__content img {
    display: block;
    max-width: calc(85vw - 40px);
    max-height: calc(85vh - 64px);
    object-fit: contain;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    background: #fff;
}
.lightbox__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #2c5530;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
}
.lightbox__close:hover {
    background: #f2f7f2;
}
.lightbox {
    display: none; /* 由 JS 切換為 flex */
}

/* 燈箱左右箭頭樣式 */
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #2c5530;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    z-index: 1001;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close { top: -12px; right: -12px; }
.lightbox__nav:hover { background: #f2f7f2; }

/* 響應式 */

@media (max-width: 1024px) {
    .traffic-img { max-width: 100%; }

    .lightbox {
        padding-top: 72px;
        padding-bottom: 48px;
    }
    .lightbox__content,
    .lightbox__content img {
        max-height: calc(100vh - 120px);
    }

    .f-quick-links{ padding-top: 0; margin: 4px 0 8px; }
}

@media (max-width: 768px) {
    .about-intro__inner { grid-template-columns: 1fr; }
    .about-intro__gallery { order: 2; }
    .about-intro__text { order: 1; }

    .quick-links { padding-top: 108px; margin: 4px 0 12px; }
    .quick-links__inner { gap: 8px; }
    .ql-btn { padding: 5px 9px; font-size: 12.5px; border-radius: 8px; }

    .about-intro__header { margin-bottom: 14px; }
    .about-intro__heading::before,
    .about-intro__heading::after { width: 28px; }
    .about-intro__heading::before { left: -36px; }
    .about-intro__heading::after  { right: -36px; }
    .heading-zh { font-size: 22px; }
    .heading-en { font-size: 14px; }

    .camp-map { padding: 40px 16px; margin-top: 20px; }
    .camp-map .heading-zh { font-size: 22px; }
    .camp-map .heading-en { font-size: 14px; }
    .camp-map__image { border-radius: 10px; }
    .camp-map__heading::before,
    .camp-map__heading::after { width: 28px; }
    .camp-map__heading::before { left: -36px; }
    .camp-map__heading::after  { right: -36px; }

    .traffic-guide { padding: 40px 16px; margin-top: 20px; }
    .traffic-guide .heading-zh { font-size: 22px; }
    .traffic-guide .heading-en { font-size: 14px; }
    .traffic-grid { grid-template-columns: 1fr; gap: 10px; }
    .traffic-guide__heading::before,
    .traffic-guide__heading::after { width: 28px; }
    .traffic-guide__heading::before { left: -36px; }
    .traffic-guide__heading::after  { right: -36px; }

    .lightbox__content img {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .f-quick-links{ padding-top: 0; margin: 4px 0 8px; }

}

@media (max-width: 480px) {
    .about-intro { padding: 36px 16px; }
    .about-intro__text h2 { font-size: 22px; }
    .about-intro__text .lead { font-size: 15px; line-height: 1.8; }
    .about-intro__text .title { font-size: 17px; }
    .about-intro__text .subtitle { font-size: 14px; }
    .feature-list { padding-left: 14px; }
    .feature-list li { font-size: 14px; }

    .quick-links { padding-top: 108px; margin: 6px 0 10px; }
    .f-quick-links{ padding-top: 0; margin: 4px 0 8px; }
    .quick-links__inner {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .lightbox { padding: 44px 16px 36px; }
    .lightbox__content,
    .lightbox__content img {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 80px);
    }
}