:root {
  --insights-navy: #071b42;
  --insights-navy-light: #12325f;
  --insights-blue: #0099dd;
  --insights-blue-dark: #0879af;
  --insights-orange: #ea5514;
  --insights-text: #17243a;
  --insights-muted: #657080;
  --insights-light: #f4f7fa;
  --insights-border: #dce3ea;
}

html {
  scroll-behavior: smooth;
}

body.mes-insights-page {
  margin: 0;
  background: #fff;
  color: var(--insights-text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

body.temple-insights-page {
  --insights-navy: #482117;
  --insights-navy-light: #6b3829;
  --insights-blue: #d3a138;
  --insights-blue-dark: #9a6d19;
  --insights-orange: #c75132;
  --insights-text: #352923;
  --insights-muted: #756861;
  --insights-light: #faf6f0;
  --insights-border: #e7dcd1;
}

.mes-insights-page a {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.insights-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7, 27, 66, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 18px rgba(7, 27, 66, 0.06);
}

.insights-header .navbar,
.insights-header .navbar-default {
  min-height: 48px;
  margin-bottom: 0;
  border: 0;
  background: transparent;
}

.insights-header .navbar-brand {
  height: 48px;
  padding: 0 15px;
}

.insights-header .navbar-brand img {
  width: auto;
  max-height: 48px;
}

.insights-header .navbar-nav > li > a {
  padding: 14px 15px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
}

.insights-header .navbar-nav > li > a:hover,
.insights-header .navbar-nav > li > a:focus,
.insights-header .navbar-nav > li > a.is-active {
  color: var(--insights-orange);
  background: transparent;
}

.insights-header-social {
  padding-top: 8px;
  text-align: right;
}

.insights-header-social a {
  display: inline-block;
  margin-left: 18px;
  color: #444;
  font-size: 22px;
}

.insights-header-social a:hover,
.insights-header-social a:focus {
  color: var(--insights-orange);
}

.insights-hero {
  overflow: hidden;
  position: relative;
  padding: 104px 0 96px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 153, 221, 0.22), transparent 29%),
    radial-gradient(circle at 72% 96%, rgba(234, 85, 20, 0.14), transparent 27%),
    linear-gradient(135deg, #061630 0%, #0b2e5a 60%, #0d4972 100%);
  color: #fff;
}

.insights-hero::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.temple-insights-page .insights-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(229, 177, 68, 0.28), transparent 29%),
    radial-gradient(circle at 72% 96%, rgba(199, 81, 50, 0.2), transparent 27%),
    linear-gradient(135deg, #32140e 0%, #64291c 60%, #8a4c24 100%);
}

.temple-insights-page .insights-eyebrow {
  color: #f3cf7b;
}

.insights-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #76d7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.insights-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
}

.insights-hero p {
  max-width: 760px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

.insights-button {
  display: inline-block;
  min-width: 164px;
  padding: 14px 24px;
  border: 2px solid var(--insights-orange);
  border-radius: 5px;
  background: var(--insights-orange);
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.insights-button:hover,
.insights-button:focus {
  border-color: #ff6d2c;
  background: #ff6d2c;
  color: #fff;
  text-decoration: none;
}

.insights-button-secondary {
  margin-left: 12px;
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
}

.insights-button-secondary:hover,
.insights-button-secondary:focus {
  border-color: #fff;
  background: #fff;
  color: var(--insights-navy);
}

.insights-section {
  padding: 88px 0;
}

.insights-section-muted {
  border-top: 1px solid var(--insights-border);
  border-bottom: 1px solid var(--insights-border);
  background: var(--insights-light);
}

.insights-section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.insights-section-heading span {
  display: block;
  margin-bottom: 12px;
  color: var(--insights-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.insights-section-heading h2 {
  margin: 0 0 14px;
  color: var(--insights-navy);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.4;
}

.insights-section-heading p {
  margin: 0;
  color: var(--insights-muted);
  font-size: 17px;
  line-height: 1.8;
}

.insights-feature {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-right: 0;
  margin-left: 0;
  border: 1px solid var(--insights-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 27, 66, 0.1);
}

.insights-feature-slider {
  position: relative;
}

.insights-feature-slide[hidden] {
  display: none;
}

.insights-feature-slide.is-entering {
  animation: insights-feature-fade-in 0.36s ease both;
}

.insights-feature-slide.is-leaving {
  animation: insights-feature-fade-out 0.28s ease both;
  pointer-events: none;
}

@keyframes insights-feature-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes insights-feature-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.insights-feature-image,
.insights-feature-copy {
  min-height: 420px;
}

.insights-feature-image {
  padding: 0;
}

.insights-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.insights-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 50px;
}

.insights-topic-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(0, 153, 221, 0.1);
  color: var(--insights-blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.insights-feature-copy h2 {
  margin: 0 0 18px;
  color: var(--insights-navy);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.45;
}

.insights-feature-copy > p {
  margin: 0 0 22px;
  color: var(--insights-muted);
  font-size: 16px;
  line-height: 1.8;
}

.insights-keypoints {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.insights-keypoints li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
  color: #3f4d60;
  font-size: 15px;
  line-height: 1.7;
}

.insights-keypoints li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--insights-orange);
  content: "✓";
  font-weight: 900;
}

.insights-feature-copy .insights-button {
  align-self: flex-start;
}

.insights-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

.insights-slider-control,
.insights-slider-indicator {
  border: 0;
  outline: 0;
  background: none;
  cursor: pointer;
}

.insights-slider-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--insights-border);
  border-radius: 50%;
  background: #fff;
  color: var(--insights-navy);
  font-size: 31px;
  line-height: 1;
  transform: translateY(-50%);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.insights-slider-previous {
  left: -64px;
}

.insights-slider-next {
  right: -64px;
}

.insights-slider-control:hover,
.insights-slider-control:focus {
  border-color: var(--insights-orange);
  background: var(--insights-orange);
  color: #fff;
}

.insights-slider-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.insights-slider-indicator {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #aab4c1;
  border-radius: 999px;
  transition: width 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.insights-slider-indicator:hover,
.insights-slider-indicator:focus {
  border-color: var(--insights-blue-dark);
}

.insights-slider-indicator.is-active {
  width: 28px;
  border-color: var(--insights-orange);
  background: var(--insights-orange);
}

.insights-category + .insights-category {
  margin-top: 56px;
}

.insights-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--insights-border);
}

.insights-category-heading h2 {
  margin: 0;
  color: var(--insights-navy);
  font-size: 25px;
  font-weight: 800;
}

.insights-category-heading p {
  margin: 0;
  color: var(--insights-muted);
  font-size: 14px;
}

.insights-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.insights-grid > li {
  display: flex;
  margin-bottom: 30px;
}

.insights-card {
  display: flex;
  overflow: hidden;
  width: 100%;
  flex-direction: column;
  border: 1px solid var(--insights-border);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 24px rgba(7, 27, 66, 0.06);
}

.insights-card:hover,
.insights-card:focus {
  border-color: rgba(0, 153, 221, 0.55);
  color: inherit;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(7, 27, 66, 0.12);
}

.insights-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.insights-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 25px 25px 23px;
}

.insights-card-tag {
  margin-bottom: 10px;
  color: var(--insights-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.insights-card h3 {
  margin: 0 0 12px;
  color: var(--insights-navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.insights-card p {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: var(--insights-muted);
  font-size: 14px;
  line-height: 1.75;
}

.insights-card-link {
  color: var(--insights-blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.insights-cta {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--insights-navy), var(--insights-navy-light));
  color: #fff;
  text-align: center;
}

.insights-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
}

.insights-cta p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.insights-footer {
  padding: 54px 0 28px;
  background: #1c1c1c;
  color: rgba(255, 255, 255, 0.72);
}

.insights-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.insights-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.insights-footer a:hover,
.insights-footer a:focus {
  color: #fff;
}

.insights-footer-logo {
  width: 185px;
  margin-bottom: 18px;
}

.insights-copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 991px) {
  .insights-header-social {
    display: none;
  }

  .insights-feature {
    display: block;
  }

  .insights-hero h1 {
    font-size: 42px;
  }

  .insights-feature-image,
  .insights-feature-copy {
    min-height: 0;
  }

  .insights-feature-copy {
    padding: 38px;
  }

  .insights-slider-previous {
    left: 12px;
  }

  .insights-slider-next {
    right: 12px;
  }
}

@media (max-width: 767px) {
  .insights-header {
    padding: 12px 0;
  }

  .insights-header .navbar-brand img {
    max-height: 42px;
  }

  .insights-header .navbar-toggle {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .insights-header .navbar-collapse {
    margin-top: 12px;
    border-top-color: var(--insights-border);
  }

  .insights-hero {
    padding: 72px 0 68px;
  }

  .insights-hero h1 {
    font-size: 34px;
  }

  .insights-hero p {
    font-size: 16px;
  }

  .insights-button {
    display: block;
    width: 100%;
  }

  .insights-button-secondary {
    margin: 12px 0 0;
  }

  .insights-section {
    padding: 62px 0;
  }

  .insights-section-heading h2 {
    font-size: 29px;
  }

  .insights-feature-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .insights-feature-copy {
    padding: 30px 26px;
  }

  .insights-feature-copy h2 {
    font-size: 26px;
  }

  .insights-feature-copy .insights-button {
    align-self: stretch;
  }

  .insights-slider-controls {
    margin-top: 22px;
  }

  .insights-slider-indicators {
    width: 100%;
    flex-wrap: wrap;
    padding: 0 54px;
  }

  .insights-slider-control {
    top: 100px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.94);
  }

  .insights-slider-previous {
    left: 10px;
  }

  .insights-slider-next {
    right: 10px;
  }

  .insights-category-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .insights-category-heading p {
    margin-top: 8px;
  }

  .insights-card:hover,
  .insights-card:focus {
    transform: none;
  }

  .insights-cta h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-feature-slide.is-entering,
  .insights-feature-slide.is-leaving {
    animation: none;
  }

  .insights-slider-control,
  .insights-slider-indicator {
    transition: none;
  }
}
