@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoBold.woff2);
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoDemiBold.woff2);
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoMedium.woff2);
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Clarika;
  src: url(/distribution-map/assets/font/clarika/ClarikaGeoRegular.woff2);
  font-weight: 400;
  font-display: swap;
}

body {
  font-family: "Clarika";
  margin: 0;
  padding: 0;
  background: #f9fafb;
}

.header-navbar,
.header-navbar-mobile {
  background-color: #fff;
  border-bottom: 1px solid #f4f4f4;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  z-index: 3;
}

.header-navbar a {
  color: #333;
  text-decoration: none;
}

.header-navbar-brand {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.header-navbar-brand img {
  height: 50px;
}

.header-navbar-mobile {
  background-color: #fff;
  border-bottom: 1px solid #f4f4f4;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(9.8px);
  -webkit-backdrop-filter: blur(9.8px);
  z-index: 3;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  display: none;
}

.header-navbar-mobile .navbar-nav a {
  text-decoration: none;
  font-weight: bold;
  color: #444;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.146);
  border-bottom: none;
}

.header-navbar-mobile .navbar-collapse {
  margin-top: 15px;
}

.header-navbar-mobile .navbar-nav a:first-child {
  border-radius: 5px 5px 0 0;
}

.header-navbar-mobile .navbar-nav a:last-child {
  border-radius: 0 0 5px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.146);
}

.faq-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.faq-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4299e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.15s;
}

.faq-back:hover {
  color: #2b6cb0;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 12px;
  line-height: 1.3;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: #4a5568;
  margin: 0 0 32px;
  line-height: 1.6;
}

.faq-video-wrapper {
  max-width: 700px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  background: #000;
  position: relative;
}

.faq-video-wrapper video {
  width: 100%;
  display: block;
}

.faq-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 28px 12px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.faq-video-controls.visible {
  opacity: 1;
  pointer-events: auto;
}

.faq-video-play-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.faq-video-play-btn:hover {
  opacity: 1;
}

.faq-video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.faq-video-progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.faq-video-progress:hover {
  height: 8px;
}

.faq-video-progress-filled {
  height: 100%;
  background: #4299e1;
  border-radius: 3px;
  width: 0%;
  transition: width 0.15s linear;
}

.faq-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  border-radius: 10px;
}

.faq-video-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.faq-video-replay-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  user-select: none;
}

.faq-video-replay-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}

.faq-video-replay-icon {
  width: 56px;
  height: 56px;
  border: 3px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}

.faq-video-replay-btn:hover .faq-video-replay-icon {
  background: rgba(0, 0, 0, 0.08);
  transform: scale(1.05);
}

.faq-video-replay-icon svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

.faq-video-replay-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.faq-video-replay-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
}

.faq-video-replay-timer {
  font-size: 0.8rem;
  color: #666;
}

.faq-video-replay-progress {
  width: 62px;
  height: 62px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.faq-video-replay-progress circle {
  fill: none;
  stroke: rgba(0, 0, 0, 0.15);
  stroke-width: 3;
}

.faq-video-replay-progress .progress-ring {
  stroke: #333;
  stroke-dasharray: 126;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.faq-content {
  text-align: left;
  line-height: 1.8;
}

.faq-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin: 36px 0 12px;
}

.faq-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a5568;
  margin: 28px 0 10px;
}

.faq-content p {
  font-size: 1.05rem;
  color: #4a5568;
  margin: 0 0 16px;
}

.faq-content ul,
.faq-content ol {
  font-size: 1.05rem;
  color: #4a5568;
  margin: 0 0 16px;
  padding-left: 24px;
}

.faq-content li {
  margin-bottom: 8px;
}

.faq-content a {
  color: #4299e1;
  text-decoration: none;
  border-bottom: 2px solid #e6eff5;
  transition: border-color 0.15s;
}

.faq-content a:hover {
  border-color: #4299e1;
}

.faq-content strong {
  font-weight: 600;
  color: #2d3748;
}

.faq-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

.faq-cta {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8faff 0%, #e8f4ff 100%);
  border: 2px solid #bee3f8;
  border-radius: 16px;
  text-align: center;
}

.faq-cta-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 8px;
}

.faq-cta-text {
  font-size: 1rem;
  color: #718096;
  margin: 0 0 20px;
}

.faq-cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: #4299e1;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: 0 4px 14px rgba(66, 153, 225, 0.35);
}

.faq-cta-button:hover {
  background: #2b7ac0;
  color: #fff;
}

/* Language Switcher */
.lang-switcher {
  padding: 32px 0 0;
  text-align: center;
}

.lang-switcher p {
  display: inline;
  margin-right: 8px;
  color: #6c757d;
  font-size: 14px;
}

.lang-btn {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  font-size: 13px;
  color: #495057;
  text-decoration: none;
  margin: 3px 2px;
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.lang-btn:hover {
  border-color: #4299e1;
  color: #4299e1;
  background: #f0f8ff;
}

@media only screen and (max-width: 992px) {
  .header-navbar {
    display: none;
  }

  .header-navbar-mobile {
    display: flex;
    margin-bottom: 16px;
  }
}

@media only screen and (max-width: 600px) {
  .faq-title {
    font-size: 1.6rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-content h2 {
    font-size: 1.2rem;
  }

  .faq-content p,
  .faq-content ul,
  .faq-content ol {
    font-size: 0.95rem;
  }
}

/* Footer */
.footer-section-inner {
  background-color: #111827;
}

.footer-copy {
  background-color: #1f2937;
  padding: 10px;
  color: #eee;
  text-align: center;
}

.footer-bottom-logo {
  max-width: 100px;
  display: block;
  margin: auto;
}

.footer-bottom-logo img,
.footer-bottom-logo object {
  width: 100%;
}

.footer-social-media {
  margin: 10px 0 50px;
  text-align: center;
}

.footer-social-media a {
  color: #6c757d;
  text-decoration: none;
}

.footer-social-media a span {
  font-weight: bold;
}

.footer-social-media:hover > a {
  color: #ffffff;
}

.footer-links {
  text-align: center;
  margin-bottom: 30px;
}

.footer-links .footer-link {
  display: inline-block;
  margin: 10px;
}

.footer-links .footer-link a {
  color: #6c757d;
  text-decoration: none;
}

.footer-links .footer-link:hover > a {
  color: #ffffff;
}

@media only screen and (max-width: 550px) {
  .footer-social {
    display: none;
  }

  .footer-links .footer-link {
    display: block;
    width: 100%;
    text-align: left;
  }

  .footer-links {
    margin-bottom: 5px;
  }
}
