﻿/* =========================================================
   contact-whistle.css
   用途：吹哨者平台（contact_whistle.aspx）
   作用範圍：.contact-whistle-page
========================================================= */

.contact-whistle-page {
  --whistle-primary: #000066;
  --whistle-text: #1a3040;
}

.contact-whistle-content {
  width: 100%;
}

.contact-whistle-hero {
  position: relative;
  min-height: 450px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0) 30%);
  border-radius: 10px;
  overflow: hidden;
}

.contact-whistle-hero-inner {
  min-height: 450px;
  background: url(../images/contact/bg-contact-whistle.png) no-repeat left center;
  background-size: auto 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem 1.5rem;
}

.contact-whistle-group {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(100%, 420px);
}

.contact-whistle-label {
  font-size: 1.375rem;
  background-image: linear-gradient(0deg, rgba(0, 0, 102, 0.5) 50%, transparent 50%, transparent 100%);
  background-repeat: repeat-x;
  background-position: center center;
  background-size: 2px;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-whistle-label span {
  display: inline-block;
  padding: 3px 20px 3px 25px;
  color: var(--whistle-primary);
  background-color: #ffffff;
  letter-spacing: 5px;
  border-radius: 100px;
}

.contact-whistle-link {
  padding-top: 1rem;
}

.contact-whistle-link a {
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-whistle-link a:hover,
.contact-whistle-link a:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(7, 41, 56, 0.12);
}

.contact-whistle-link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .contact-whistle-hero-inner {
    background-position: left center;
  }
}

@media (max-width: 767.98px) {
  .contact-whistle-hero {
    min-height: auto;
  }

  .contact-whistle-hero-inner {
    min-height: auto;
    background-position: left top;
    background-size: contain;
    align-items: flex-end;
    padding: 26rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .contact-whistle-hero-inner {
    padding: 17rem 0 3rem;
  }
}
