/*
Theme Name: junj
Theme URI: https://example.com/junj
Author: Your Name
Author URI: https://example.com
Description: junj主题 - 一个简洁的WordPress基础模板
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junj
*/






/* 基础样式重置 */

@font-face {
    font-family: "OutfitBold";
    src: url("/wp-content/themes/junj/assets/fonts/Outfit-Bold.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
}

body * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 36%, #faf6f4 64%, #ffffff 100%);
    padding-top: 80px;

}

/* 彻底重置 a 标签所有默认样式 */
a {
    text-decoration: none;
    /* 去掉下划线 */
    color: inherit;
    /* 继承父级颜色，不默认变蓝 */
    cursor: pointer;
    outline: none;
    /* 去掉点击外框 */
}

/* Project-wide anchor reset: remove browser default link, visited, active, and focus chrome. */
a,
a:hover,
a:focus,
a:focus-visible,
a:active,
a:visited {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus,
a:focus-visible,
a:active {
  outline: 0 !important;
  box-shadow: none !important;
}
:root {
  --motion-ease: ease;
  --motion-page-duration: 0.7s;
  --motion-soft-duration: 0.7s;
  --motion-media-duration: 0.8s;
  --motion-interaction-fast: 0.22s;
  --motion-interaction: 0.35s;
  --motion-interaction-slow: 0.45s;
}

.motion-page-fade {
  animation: pageFadeIn var(--motion-page-duration) var(--motion-ease) both;
}

.motion-soft-reveal {
  animation: softReveal var(--motion-soft-duration) var(--motion-ease) both;
}

.motion-media-reveal {
  animation: mediaReveal var(--motion-media-duration) var(--motion-ease) both;
}

.motion-interactive {
  transition: color var(--motion-interaction) var(--motion-ease),
    background-color var(--motion-interaction) var(--motion-ease),
    border-color var(--motion-interaction) var(--motion-ease),
    box-shadow var(--motion-interaction) var(--motion-ease),
    opacity var(--motion-interaction) var(--motion-ease),
    transform var(--motion-interaction) var(--motion-ease);
}

.motion-hover-lift:hover {
  transform: translateY(-3px);
}

.motion-focus-ring:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes softReveal {
  from {
    filter: blur(8px);
    opacity: 0;
  }

  to {
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes mediaReveal {
  from {
    filter: blur(10px);
    opacity: 0;
  }

  to {
    filter: blur(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

