.nav-tabs, .topbar ul, ul.contact-info, ul.menu {
  list-style: none !important;
  padding-left: 0;
}

.node--view-mode-full p {
  margin-top: 0;
  margin-bottom: 10px;
}

body div.body-page {
  background-color: #fff;
}

.site-branding-logo {
  max-height: inherit;
}

.site-branding-logo img {
  max-height: 80px;
  width: auto;
}

header .site-branding-logo img.logo-site {
  display: block !important;
}

.listing-taxonomy-page .view-page {
  margin-bottom: 0 !important;
}

.gva-listings-map-page {
  min-height: 100vh;
}

.map-block-1 .gva-listings-map-page {
  min-height: auto;
}

.event-full .post-title {
  font-size: 30px;
  margin: 20px 0;
}

.listing-main-map-4, .gva-listings-full-page-2 #listing-main-map {
  min-height: 600px;
}

@media (max-width: 992px) {
  .listings-map-3 .main-map-wrapper {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  /* 走讀路線清單（北部/中部/南部/東部 下一層）: 排成多欄、不要捲軸,
     且絕不裁切再下一層的 fly-out（大三鶯走路節 → 子路線）。 */
  .navigation .gva_menu > li > .sub-menu > li:hover > .sub-menu {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    grid-column-gap: 14px;
    width: -webkit-max-content;
    width: max-content;
    max-width: 700px;
    max-height: none;
    overflow: visible;
  }
  /* 大三鶯走路節的子路線 fly-out: 一般單欄, 可自由超出上層面板。 */
  .navigation .gva_menu > li > .sub-menu > li > .sub-menu > li:hover > .sub-menu {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    display: block;
    width: 240px;
    max-height: none;
    overflow: visible;
  }
}

.gsc-block-view .gva-listings-map-page {
  min-height: 100px !important;
}

.main-map-wrapper {
  display: block !important;
}

.main-map-wrapper.d-none {
  opacity: 0;
  z-index: -11;
}

@media (min-width: 576px) {
  .main-map-wrapper.d-sm-none {
    opacity: 0;
    z-index: -11;
  }
}

@media (min-width: 768px) {
  .main-map-wrapper.d-md-none {
    opacity: 0;
    z-index: -11;
  }
}

@media (min-width: 992px) {
  .main-map-wrapper.d-lg-block {
    opacity: 1;
    z-index: 11;
  }
}

/* 景點卡片：舊 Drupal 版型把文字區固定 160px 高（當年摘要是三行長文），3.0 摘要多為一行副標，下方留一大塊空白。
   改成依內容決定高度，摘要區保留兩行，同排卡片底部仍對齊。Roger 2026-10-12 回報「卡片下面空白很大」。 */
.listing-block .listing-content .listing-info{height:auto!important;min-height:0!important}
.listing-block .listing-content .listing-info .body{min-height:3em}

/* 景點頁各區塊（撰稿者、語音導覽等）內距原為 40px，內容少時顯得空；縮小。Roger 2026-10-12「這類的區塊太空」。 */
.node-listing-single .listing-content-main .listing-info-block .block-content{padding:22px 30px!important}
@media(max-width:767px){.node-listing-single .listing-content-main .listing-info-block .block-content{padding:16px 18px!important}}

/* DGW-DEAD-LINKS-START（gen_dead_css.py 產生，勿手改）*/
/* 外部網站失效的連結：灰色虛線底線＋「連結已失效」小標，滑過顯示說明。共 33 個網址。 */
a[href="http://www.kinik.com.tw"],
a[href="http://www.wenshan.org.tw/component/k2/item/1036-2013-09-20-07-07- 50.html"],
a[href="http://www.wenshan.org.tw/component/k2/item/971-2013-10-31-08-39-20.html"],
a[href="http://yingge.ceramics.tpc.gov.tw/"],
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340688"],
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340728"],
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340752"],
a[href="https://blog.xuite.net/jingmei.history/twblog1/snapshot-view/123340796"],
a[href="https://blog.xuite.net/next.media/wretch/454912097"],
a[href="https://blog.xuite.net/next.media/wretch/577516507)"],
a[href="https://digital.ceramics.ntpc.gov.tw/zh-tw/YG200/1.htm"],
a[href="https://limeishu.org.tw/culture/post/5b6c14661359ee143da4d26b"],
a[href="https://limeishu.org.tw/culture/post/5b8f07efadda340c90a3b453"],
a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cd5"],
a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cf2"],
a[href="https://memory.culture.tw/Home/Detail?Id=263414&IndexCode=Culture_Place"],
a[href="https://memory.culture.tw/Home/Detail?Id=274913&IndexCode=Culture_Invisible"],
a[href="https://pro.godroad.tw/E210502/"],
a[href="https://sianguang2ndvillage.com/"],
a[href="https://taipeipark.idatatw.com/"],
a[href="https://wenshan.org.tw/component/k2/item/279-2015-03-23-11-37-19.html"],
a[href="https://wenshan.org.tw/wss/文史/item/920-2013-10-30-12-36-27"],
a[href="https://www.bilong.org.tw "],
a[href="https://www.chih-nan-temple.org，檢索日期：2024年8月6日"],
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3429,c305-1.php"],
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3464,c297-1.php"],
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3484,c305-1.php"],
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3485,c305-1.php"],
a[href="https://www.iatyu.nat.gov.tw/view.php?theme=web_structure&id=65"],
a[href="https://www.limeishu.org/intro/museum/5b8e97c049454bae17185cdb"],
a[href="https://www.merit-times.com/NewsPage.aspx?unid=370929"],
a[href="https://www.th.gov.tw/epaper/site/page/128/1837"],
a[href="https://www.wangingyan.com/about01.html"] {
  color: #8a8a8a !important;
  text-decoration: underline dashed #b0413e !important;
  text-underline-offset: 3px;
  cursor: help;
}
a[href="http://www.kinik.com.tw"]::after,
a[href="http://www.wenshan.org.tw/component/k2/item/1036-2013-09-20-07-07- 50.html"]::after,
a[href="http://www.wenshan.org.tw/component/k2/item/971-2013-10-31-08-39-20.html"]::after,
a[href="http://yingge.ceramics.tpc.gov.tw/"]::after,
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340688"]::after,
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340728"]::after,
a[href="https://blog.xuite.net/jingmei.history/twblog1/123340752"]::after,
a[href="https://blog.xuite.net/jingmei.history/twblog1/snapshot-view/123340796"]::after,
a[href="https://blog.xuite.net/next.media/wretch/454912097"]::after,
a[href="https://blog.xuite.net/next.media/wretch/577516507)"]::after,
a[href="https://digital.ceramics.ntpc.gov.tw/zh-tw/YG200/1.htm"]::after,
a[href="https://limeishu.org.tw/culture/post/5b6c14661359ee143da4d26b"]::after,
a[href="https://limeishu.org.tw/culture/post/5b8f07efadda340c90a3b453"]::after,
a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cd5"]::after,
a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cf2"]::after,
a[href="https://memory.culture.tw/Home/Detail?Id=263414&IndexCode=Culture_Place"]::after,
a[href="https://memory.culture.tw/Home/Detail?Id=274913&IndexCode=Culture_Invisible"]::after,
a[href="https://pro.godroad.tw/E210502/"]::after,
a[href="https://sianguang2ndvillage.com/"]::after,
a[href="https://taipeipark.idatatw.com/"]::after,
a[href="https://wenshan.org.tw/component/k2/item/279-2015-03-23-11-37-19.html"]::after,
a[href="https://wenshan.org.tw/wss/文史/item/920-2013-10-30-12-36-27"]::after,
a[href="https://www.bilong.org.tw "]::after,
a[href="https://www.chih-nan-temple.org，檢索日期：2024年8月6日"]::after,
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3429,c305-1.php"]::after,
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3464,c297-1.php"]::after,
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3484,c305-1.php"]::after,
a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3485,c305-1.php"]::after,
a[href="https://www.iatyu.nat.gov.tw/view.php?theme=web_structure&id=65"]::after,
a[href="https://www.limeishu.org/intro/museum/5b8e97c049454bae17185cdb"]::after,
a[href="https://www.merit-times.com/NewsPage.aspx?unid=370929"]::after,
a[href="https://www.th.gov.tw/epaper/site/page/128/1837"]::after,
a[href="https://www.wangingyan.com/about01.html"]::after {
  content: "連結已失效";
  display: inline-block;
  margin-left: .35em;
  padding: 0 .4em;
  font-size: .75em;
  line-height: 1.6;
  color: #fff;
  background: #b0413e;
  border-radius: 3px;
  text-decoration: none;
  vertical-align: middle;
}
html[lang^="en"] a[href="http://www.kinik.com.tw"]::after,
html[lang^="en"] a[href="http://www.wenshan.org.tw/component/k2/item/1036-2013-09-20-07-07- 50.html"]::after,
html[lang^="en"] a[href="http://www.wenshan.org.tw/component/k2/item/971-2013-10-31-08-39-20.html"]::after,
html[lang^="en"] a[href="http://yingge.ceramics.tpc.gov.tw/"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/jingmei.history/twblog1/123340688"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/jingmei.history/twblog1/123340728"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/jingmei.history/twblog1/123340752"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/jingmei.history/twblog1/snapshot-view/123340796"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/next.media/wretch/454912097"]::after,
html[lang^="en"] a[href="https://blog.xuite.net/next.media/wretch/577516507)"]::after,
html[lang^="en"] a[href="https://digital.ceramics.ntpc.gov.tw/zh-tw/YG200/1.htm"]::after,
html[lang^="en"] a[href="https://limeishu.org.tw/culture/post/5b6c14661359ee143da4d26b"]::after,
html[lang^="en"] a[href="https://limeishu.org.tw/culture/post/5b8f07efadda340c90a3b453"]::after,
html[lang^="en"] a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cd5"]::after,
html[lang^="en"] a[href="https://limeishu.org.tw/intro/museum/5b8e97c049454bae17185cf2"]::after,
html[lang^="en"] a[href="https://memory.culture.tw/Home/Detail?Id=263414&IndexCode=Culture_Place"]::after,
html[lang^="en"] a[href="https://memory.culture.tw/Home/Detail?Id=274913&IndexCode=Culture_Invisible"]::after,
html[lang^="en"] a[href="https://pro.godroad.tw/E210502/"]::after,
html[lang^="en"] a[href="https://sianguang2ndvillage.com/"]::after,
html[lang^="en"] a[href="https://taipeipark.idatatw.com/"]::after,
html[lang^="en"] a[href="https://wenshan.org.tw/component/k2/item/279-2015-03-23-11-37-19.html"]::after,
html[lang^="en"] a[href="https://wenshan.org.tw/wss/文史/item/920-2013-10-30-12-36-27"]::after,
html[lang^="en"] a[href="https://www.bilong.org.tw "]::after,
html[lang^="en"] a[href="https://www.chih-nan-temple.org，檢索日期：2024年8月6日"]::after,
html[lang^="en"] a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3429,c305-1.php"]::after,
html[lang^="en"] a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3464,c297-1.php"]::after,
html[lang^="en"] a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3484,c305-1.php"]::after,
html[lang^="en"] a[href="https://www.hakka-beliefs.ntpc.gov.tw/files/15-1001-3485,c305-1.php"]::after,
html[lang^="en"] a[href="https://www.iatyu.nat.gov.tw/view.php?theme=web_structure&id=65"]::after,
html[lang^="en"] a[href="https://www.limeishu.org/intro/museum/5b8e97c049454bae17185cdb"]::after,
html[lang^="en"] a[href="https://www.merit-times.com/NewsPage.aspx?unid=370929"]::after,
html[lang^="en"] a[href="https://www.th.gov.tw/epaper/site/page/128/1837"]::after,
html[lang^="en"] a[href="https://www.wangingyan.com/about01.html"]::after {
  content: "link unavailable";
}
/* DGW-DEAD-LINKS-END */

/* DGW-CARD-EQUAL-START：全站景點卡片（路線頁、分類頁、首頁格狀、輪播）同一排等高、底部對齊；沒照片放預設圖（2026-10-13） */
.dguidedwalks-listing-view-content > .row > [class*="col-"]{display:flex}
.gva-view-grid-inner:has(.listing-block){display:flex;flex-wrap:wrap}
.gva-view-grid-inner > .item-columns:not(.dgw-hide-init):has(.listing-block){display:flex;float:none}
.gva-view-grid-inner > .item-columns:has(.listing-block) > div{display:flex;flex:1 1 auto;width:100%}
.owl-carousel:has(.listing-block) .owl-stage{display:flex}
.owl-carousel:has(.listing-block) .owl-item{display:flex}
.owl-carousel:has(.listing-block) .owl-item > .item,.owl-carousel:has(.listing-block) .owl-item > .item > div{display:flex;width:100%}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block{flex:1 1 auto;display:flex;flex-direction:column;width:100%}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block > .listing-content{flex:1 1 auto;display:flex;flex-direction:column}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block > .listing-content > .listing-info{flex:1 1 auto}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block > .listing-content > .listing-footer{margin-top:auto}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block > .listing-image:not(:has(img)){aspect-ratio:3/2;background:#f1efe9 url("../../../sites/default/files/dgw_default_poi.jpg") center/cover no-repeat}
/* 桌機：標題最多 2 行；標題與摘要行高都 24px，資訊區高度剛好整數行，不會露出半行 */
@media (min-width:768px){
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-info h3.title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:24px!important;flex:0 0 auto!important}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-block > .listing-content > .listing-info{flex:0 0 auto;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;height:140px!important;min-height:0!important}
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-info .body{flex:0 0 auto!important;min-height:0!important;line-height:24px!important;-webkit-line-clamp:4!important;max-height:96px}
}
/* DGW-CARD-EQUAL-END */
/* 2026-10-14 卡片摘要改 3 行加「…」：標題兩行時摘要 4 行會超過固定高度 140px，被底下分類列壓住（Roger 回報台灣基督教墓園巡禮） */
:is(.dguidedwalks-listing-view-content,.gva-view-grid,.owl-carousel) .listing-info .body{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;max-height:72px!important;overflow:hidden!important}
