:root {
  --trfc-red: #a20f22;
  --trfc-red-dark: #7f0c19;
  --trfc-ink: #2d2926;
  --trfc-muted: #6f6760;
  --trfc-border: #e4ded6;
  --trfc-bg: #f7f4f0;
}

body.trfc-local {
  color: var(--trfc-ink);
  background: #fff;
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

.trfc-header {
  border-bottom: 1px solid #e8e1d8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}

.trfc-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trfc-logo img {
  max-height: 54px;
  width: auto;
}

.trfc-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trfc-menu > li {
  position: relative;
}

.trfc-menu a {
  display: block;
  padding: 26px 12px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.trfc-menu a:hover,
.trfc-menu a[aria-current="page"] {
  color: var(--trfc-red);
}

.trfc-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--trfc-border);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.trfc-menu li:hover > ul {
  display: block;
}

.trfc-menu ul a {
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
}

.trfc-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background: #23130e;
  overflow: hidden;
}

.trfc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28)),
    url("../images/slider/trfc/1.jpg") center/cover no-repeat;
}

.trfc-hero > .container {
  position: relative;
}

.trfc-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: 42px;
  line-height: 1.28;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.trfc-hero p {
  max-width: 780px;
  margin: 0 0 28px;
  color: #f5eee8;
  font-size: 17px;
  line-height: 1.8;
}

.trfc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trfc-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--trfc-red);
  border-radius: 3px;
  background: var(--trfc-red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.trfc-button.secondary {
  background: transparent;
  border-color: #fff;
}

.trfc-button.light {
  background: #fff;
  border-color: #fff;
  color: var(--trfc-red);
}

.trfc-button:hover {
  color: #fff;
  background: var(--trfc-red-dark);
  border-color: var(--trfc-red-dark);
}

.trfc-button.light:hover {
  color: #fff;
}

.trfc-page-title {
  padding: 58px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.28)),
    url("../images/about/parallax.jpg") center/cover no-repeat;
}

.trfc-page-title h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 34px;
  letter-spacing: 0;
}

.trfc-page-title a {
  color: #fff;
}

.trfc-section {
  padding: 46px 0;
}

.trfc-section.alt {
  background: var(--trfc-bg);
}

.trfc-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.trfc-section-title h2 {
  margin: 0;
  color: #222;
  font-size: 27px;
  letter-spacing: 0;
}

.trfc-section-title p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--trfc-muted);
  line-height: 1.7;
}

.trfc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trfc-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trfc-card {
  display: block;
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--trfc-border);
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.trfc-card.image {
  padding: 0;
  overflow: hidden;
}

.trfc-card:hover {
  border-color: var(--trfc-red);
  color: #333;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.trfc-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.trfc-card-body {
  padding: 18px;
}

.trfc-card h3 {
  margin: 0 0 8px;
  color: var(--trfc-red);
  font-size: 21px;
  line-height: 1.35;
}

.trfc-card .eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #8a8178;
  font-size: 13px;
}

.trfc-card p {
  margin: 0;
  color: #666;
  line-height: 1.75;
}

.trfc-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.trfc-feature-media {
  min-height: 290px;
  border-radius: 6px;
  background: url("../images/god-tour.JPG") center/cover no-repeat;
}

.trfc-region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trfc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--trfc-border);
  background: #fff;
  color: #333;
  text-decoration: none;
  font-weight: 700;
}

.trfc-pill:hover {
  border-color: var(--trfc-red);
  color: var(--trfc-red);
}

.trfc-news-list {
  display: grid;
  gap: 12px;
}

.trfc-news-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--trfc-border);
}

.trfc-news-date {
  color: var(--trfc-red);
  font-weight: 700;
}

.trfc-news-item a {
  color: #222;
  font-weight: 700;
  text-decoration: none;
}

.trfc-news-item a:hover {
  color: var(--trfc-red);
}

.trfc-footer {
  padding: 30px 0;
  color: #e8dfd7;
  background: #2a2522;
}

.trfc-footer a {
  color: #fff;
  text-decoration: none;
}

.trfc-footer-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .trfc-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .trfc-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .trfc-menu a {
    padding: 8px 10px 8px 0;
  }

  .trfc-menu ul {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .trfc-menu ul a {
    padding: 4px 8px 4px 0;
    color: #666;
  }

  .trfc-hero {
    min-height: 420px;
  }

  .trfc-hero h1 {
    font-size: 32px;
  }

  .trfc-section-title {
    display: block;
  }

  .trfc-card-grid,
  .trfc-card-grid.two,
  .trfc-feature {
    grid-template-columns: 1fr;
  }

  .trfc-news-item {
    grid-template-columns: 1fr;
  }
}
