/* ==========================================================================
   aurorabus.css
   模組：aurorabus（全站）
   作用範圍：.page
   排序原則：由上到下（骨架 → 標題 → 主要元件 → 資料顯示格式 → RWD）
   ========================================================================== */

/* --------------------------------------------------------------------------
   主要樣式（含版面骨架 / 標題 / 元件樣式）
   -------------------------------------------------------------------------- */

.aurorabuspage .goback-btn{  /* 首頁不應出現返回鍵 */
  display: none;
}

.aurorabuspage main{
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 24px 40px;
}


.aurorabuspage .busfunctions{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}

.aurorabuspage .btn{
  display: inline-grid;
  place-items: center;

  border: 2px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.28);

  color: purple;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 1px;

  padding: 12px 20px;
  border-radius: 14px;

  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 10px 18px rgba(0,0,0,.14);
  transition: transform .12s ease;
  line-height: 1.2;
}

.aurorabuspage .btn:active{ transform: scale(0.95); }


.aurorabuspage .busrouteseatch{
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 22px 0 30px;
  flex-wrap: wrap;
}

.aurorabuspage .route-btn{
  width: 170px;
  height: 170px;
  border-radius: 50%;

  display: grid;
  place-items: center;
  text-align: center;

  font-weight: 600;
  font-size: 36px;
  line-height: 1.35;

  color: purple;

  border: 6px solid rgba(194,132,15,.92);
  background: radial-gradient(circle at 35% 35%, #fff2c8 0 35%, #f2c55a 55%, #c8840f 100%);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 16px 30px rgba(0,0,0,.20);

  transition: transform .12s ease;
}

.aurorabuspage .route-btn:active{ transform: scale(0.95); }


.aurorabuspage .section-title,
.aurorabuspage .externallinks{
  margin: 0 0 10px 0;
  font-size: 36px;
  font-weight: 600;
  color: blue;
  text-align: center;
}


.aurorabuspage .busnewstop8{
  background: rgba(255,255,255,.80);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  padding: 12px;
  overflow-x: auto;
}

.aurorabuspage .news-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: center;
}

.aurorabuspage .news-table thead th{
  font-size: 30px;
  color: blue;
  font-weight: 900;
  text-align: center;
}


.aurorabuspage .news-table tbody td{
  font-size: 30px;
  color: black;
  font-weight: 400;
  text-align: center;
}

.aurorabuspage .news-table tbody td{
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: center;
  vertical-align: middle;
}


.aurorabuspage .news-table tbody td:nth-child(4){ text-align: center; }

.aurorabuspage .news-more{
  margin-top: 10px;
  display: flex;
  font-size: 25px;
  justify-content: flex-end;
}

.aurorabuspage .busnews{ color: blue; font-weight: 400; }
.aurorabuspage .busnews:hover{ text-decoration: underline; }

.aurorabuspage .news-table tbody a,
.aurorabuspage .news-table tbody a:visited{
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.aurorabuspage .news-table tbody a:hover,
.aurorabuspage .news-table tbody a:focus-visible{
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   首頁客運簡介
   -------------------------------------------------------------------------- */
.aurorabuspage .home-introduction{
  margin-top: 24px;
}

.aurorabuspage .home-introduction-card{
  background: rgba(255,255,255,.80);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  padding: 14px 16px;
}

.aurorabuspage .home-introduction-text{
  font-size: 30px;
  color: black;
  font-weight: 400;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

.aurorabuspage .home-introduction-more{
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  font-size: 25px;
}

.aurorabuspage .home-introduction-link{
  color: blue;
  font-weight: 400;
}

.aurorabuspage .home-introduction-link:hover{
  text-decoration: underline;
}


.aurorabuspage .links{ margin-top: 24px; }

.aurorabuspage .links-container{
  background: rgba(255,255,255,.80);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
  padding: 14px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.aurorabuspage .links-container button{
  min-height: 46px;
  border: 0;
  cursor: pointer;
  padding: 12px;
  border-radius: 14px;

  background: rgba(255,255,255,.65);

  display: grid;
  place-items: center;
  text-align: center;

  font-size: 25px;
  color: blue;
  font-weight: 400;

  transition: transform .12s ease;
}

.aurorabuspage .links-container button:active{ transform: scale(0.98); }

/* --------------------------------------------------------------------------
   首頁橫向快捷導覽列
   -------------------------------------------------------------------------- */

.aurorabuspage .aurorabushome-topnav {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;

  background: purple;
  border-radius: 999px;
  padding: 0 8px;
  margin: 12px 0 18px;

  position: relative;
}

.aurorabuspage .aurorabushome-topnav__item {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  word-break: break-all;
  line-height: 1.2;

  padding: 14px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;

  font-size: 30px;
  font-weight: 600;
  color: yellow;
  letter-spacing: 1px;

  border-radius: 999px;
  transition: background .15s ease;
  user-select: none;
}

.aurorabuspage .aurorabushome-topnav__item:hover {
  background: rgba(255,255,255,.18);
}

.aurorabuspage .aurorabushome-topnav__item:active {
  background: rgba(255,255,255,.30);
}

/* 下拉箭頭 */
.aurorabuspage .aurorabushome-topnav__toggle::after {
  content: " ▼";
  font-size: 15px;
  opacity: .85;
}
.aurorabuspage .aurorabushome-topnav__toggle[aria-expanded="true"]::after {
  content: " ▲";
}

/* 下拉群組容器 */
.aurorabuspage .aurorabushome-topnav__group {
  flex: 1 1 0;          /* 與其他項目平分 */
  position: relative;
  display: flex;
  align-items: stretch;
}

/* 下拉選單 */
.aurorabuspage .aurorabushome-topnav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;

  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 160px;

  background: purple;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  overflow: hidden;
}

.aurorabuspage .aurorabushome-topnav__group.is-open .aurorabushome-topnav__dropdown {
  display: block;
}

.aurorabuspage .aurorabushome-topnav__dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 30px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  text-align: center;
  transition: background .12s ease;
}

.aurorabuspage .aurorabushome-topnav__dropdown li a:hover {
  background: rgba(255,255,255,.18);
}

/* --------------------------------------------------------------------------
   RWD
   -------------------------------------------------------------------------- */
@media (max-width: 720px){
  .aurorabuspage main{ padding: 14px 14px 34px; }
  .aurorabuspage .busrouteseatch{ gap: 18px; }
  .aurorabuspage .route-btn{ width: 140px; height: 140px; font-size: 25px; }
  .aurorabuspage .links-container{ grid-template-columns: 1fr; }
  .aurorabuspage .home-introduction-text{
    font-size: 18px;
    line-height: 1.8;
  }
}