/*
 Theme Name:   Fountain Blog Child
 Template:     fountain-blog
 Version:      2.2.2
*/

:root {
  --fontFamily: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    'Helvetica', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
    'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  // ... other existing variables ...
}

* {
  font-family: 'Noto Sans', var(--fontFamily) !important;
}

.entry-content-link {
  color: inherit;
  text-decoration: none;
}

.editor-styles-wrapper,
.editor-styles-wrapper button,
.editor-styles-wrapper input,
.editor-styles-wrapper select,
.editor-styles-wrapper optgroup,
.editor-styles-wrapper textarea,
p {
  color: #2f3633;
}

.wp-block-buttons {
  margin-top: 28px;
  margin-bottom: 28px;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

ul,
ol {
  margin-left: 0;
  padding-left: 20px;
}

.header-box a,
.footer a {
  text-decoration: none;
  color: inherit;
}

.header-box a:hover,
.header-box a:active {
  color: #ff3d5d;
}
.footer a:hover,
.footer a:active {
  color: inherit;
}

.header-box ul,
.footer ul {
  padding: 0;
  margin: 0;
}
.header-box {
  position: sticky;
  top: 0;
  background-color: #000;
  z-index: 9999;
  margin-bottom: 50px;
}
.header-box h2 {
  padding: 0;
  margin: 0;
}

.footer {
  background: #0f0f0f;
  width: 100%;
}

.footer h2 {
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .download-qrcode {
    display: none;
  }
  .sidebar-qrcode {
    display: none;
  }
  p {
    margin-bottom: 18px;
  }
  .nav {
    width: 100%;
    height: 11.73vw; /* 44px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4.8vw; /* 18px */
    box-sizing: border-box;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo-icon {
    width: 6.67vw; /* 25px */
    height: 6.67vw; /* 25px */
    background-image: url('https://v-mps.crazymaplestudios.com/images/bffd6650-0d29-11ef-83bc-6975da9187e0.png');
    background-size: contain;
  }
  .logo-text {
    margin-left: 3.21vw; /* 12px */
    img {
      display: flex;
      align-items: center;
      width: 24vw; /* 90px */
      height: 3.73333vw; /*18px*/
    }
  }
  .tabs {
    display: flex;
    height: 12.53333vw; /* 49px */
    padding-bottom: 3.2vw; /* 12px */
    justify-content: center;
    align-items: center;
  }
  .tabs .tab {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-size: 4vw; /* 15px */
    cursor: pointer;
    margin: 0 4.27vw; /* 16px */
  }
  .tabs .active {
    color: #fff;
  }
  .tab.active::after {
    position: absolute;
    content: '';
    display: block;
    width: 80%;
    height: 0.53vw; /* 2px */
    background: #fff;
    margin-top: 0.53vw; /* 2px */
    left: 10%;
    border-radius: 0.53vw; /* 2px */
  }
  .pc-header-right {
    display: none;
  }
  .mobile-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .search-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 5.32vw; /* 20px */
  }
  .search-btn .search-icon {
    // width: 5.32vw; /* 20px */
    // height: 5.32vw; /* 20px */
    font-size: 5.32vw; /* 20px */
    color: #fff;
  }

  /** -------------移动下载按钮----------------*/
  .m-download-container {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 15.12vw; /* 56px */
    background: #292929;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4.32vw;
    box-sizing: border-box;
  }
  .m-download-content-left {
    display: flex;
    align-items: center;
  }
  .m-download-container img {
    width: 10.8vw;
    height: 10.8vw;
    margin-right: 2.16vw;
  }
  .m-download-text {
    color: #fff;
    font-size: 3.78vw;
    font-style: normal;
    font-weight: 500;
    max-width: 50.76vw;
    line-height: 4.536vw;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .m-download-btn {
    width: 25.92vw;
    height: 10.8vw;
    border-radius: 8.53vw;
    background: #ff3d5d;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    font-size: 3.78vw;
    font-style: normal;
    font-weight: 700;
  }

  /** -------------页脚----------------*/
  .footer {
    padding-bottom: 5.32vw; /* 20px */
    margin-top: 6.4vw; /* 24px */
  }
  .footer .section-title {
    padding-left: 4.27vw !important; /* 16px */
    padding-right: 4.53vw !important; /* 17px */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 13.33vw; /* 50px */
    border-bottom: 0.27vw solid #2f3542; /* 1px */
    font-size: 4.27vw; /* 16px */
    color: #fff;
  }

  .arrow {
    background-image: url('https://v-mps.crazymaplestudios.com/images/4db732b0-70e8-11ef-a2d6-41216ff1602c.png');
    transition: transform 0.3s ease;
    width: 3.2vw; /* 12px */
    height: 2.67vw; /* 10px */
    background-size: contain;
  }

  .section-content {
    list-style-type: none;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
  }

  .section-content li {
    height: 12.8vw; /* 48px */
    border-bottom: 0.27vw solid #ffffff1f; /* 1px */
    font-size: 3.73vw; /* 14px */
    padding-left: 4.27vw; /* 16px */
    padding-right: 4.53vw; /* 17px */
    display: flex;
    align-items: center;
  }
  .section-content li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .community h2 {
    margin-top: 6.4vw; /* 24px */
    font-size: 4.27vw; /* 16px */
    text-align: center;
    color: #fff;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 4.27vw; /* 16px */
    margin-bottom: 9.6vw; /* 36px */
  }

  .social-icon {
    width: 8.53vw; /* 32px */
    height: 8.53vw; /* 32px */
    background-color: #2f3542;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin: 0 4.27vw; /* 16px */
  }

  .social-icon img {
    width: 8.53vw; /* 32px */
    height: 8.53vw; /* 32px */
  }

  .copyright {
    margin-top: 5.33vw; /* 20px */
    font-size: 3.2vw; /* 12px */
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }
}
/** pc样式 */
@media (min-width: 769px) {
  .sidebar-qrcode {
    display: block;
  }

  .download-container {
    position: relative;
  }

  .download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .download-btn svg {
    width: 21px;
    height: 20px;
  }

  .download-container {
    height: 100%;
    display: flex;
    align-items: center;
  }
  .download-container:hover .download-qrcode {
    display: flex;
  }
  .download-qrcode {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    border-radius: 12px;
    padding: 16px;
    z-index: 1000;
    width: 364px;
    height: 152px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transform: translateY(15px);
  }

  .download-qrcode .jiantou {
    width: 44px;
    position: absolute;
    top: -12px;
    right: 20px;
    transform: translateX(-50%);
  }

  .qrcode-content {
    color: white;
    margin-right: 12px;
  }
  .qrcode-content::before {
    content: '';
    display: block;
    width: 100%;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 0;
  }

  .qrcode-content h3 {
    color: white;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    width: 200px;
    margin: 0;
  }

  .platform-container {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
  }

  html:is([lang='ro-RO'], ) .qrcode-content h3 {
    font-size: 14px;
  }

  html:is(
      [lang='ja'],
      [lang='de'],
      [lang='ru'],
      [lang='id'],
      [lang='tr'],
      [lang='pl-PL']
    )
    .qrcode-content
    h3 {
    font-size: 12px;
  }
  html:is([lang='fr-FR'], [lang='bg-BG']) .qrcode-content h3 {
    font-size: 11px;
  }

  .platform-icons {
    display: flex;
    gap: 8px;
  }

  .platform-icons img {
    width: 16px;
    height: 16px;
  }
  html:is([lang='ja'], [lang='de']) .platform-container p {
    font-size: 11px;
  }
  html:is([lang='pl-PL']) .platform-container p {
    font-size: 8px;
  }

  .platform-container p {
    margin: 0;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 18px */
  }

  .qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
  }
  .header-content {
    display: flex;
  }
  .footer {
    margin-top: 72px;
    height: 262px;
  }
  .nav {
    height: 66px;
    display: flex;
    align-items: center;
    flex: none;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    background-image: url('https://v-mps.crazymaplestudios.com/images/bffd6650-0d29-11ef-83bc-6975da9187e0.png');
    background-size: contain;
    background-repeat: no-repeat;
  }
  .logo-text {
    margin-left: 12px;
    display: flex;
    align-items: center;
    img {
      width: 120px;
      height: 18px;
    }
  }
  .tabs {
    margin-left: 50px;
    display: flex;
    height: 66px;
    padding-left: 6px;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  .tab {
    position: relative;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin-right: 40px;
    flex: 1;
    white-space: nowrap;
  }
  .tab.active {
    color: #ff3d5d;
  }
  .pc-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    color: #fff;
  }

  .right-btn:hover {
    color: #ff3d5d !important;
  }
  .right-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: max-content;
    color: #fff;
    margin-right: 40px;
  }
  .right-btn .right-icon {
    // width: 20px;
    // height: 20px;
    font-size: 20px;
  }
  .right-btn .text {
    font-size: 16px;
    line-height: 21px;
    height: 21px;
    padding-top: 4px;
  }
  .mobile-header-right {
    display: none;
  }

  .m-download-container {
    display: none;
  }

  /** -------------页脚----------------*/
  .footer {
    height: auto;
    padding: 37px 4vw 24px;
  }
  .footer-content {
    display: flex;
  }

  .section-title {
    font-size: 24px;
    height: 34px;
    color: #fff;
    font-weight: 700;
  }

  .arrow {
    display: none;
  }

  .section-content {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
    width: 307px;
  }

  .section-content li {
    height: 22px;
    font-size: 16px;
    margin-top: 12px;
  }

  .community h2 {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    background-color: #2f3542;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin-right: 12px;
  }

  .social-icon img {
    width: 32px;
    height: 32px;
  }

  .copyright {
    margin-top: 46px;
    font-size: 14px;
    height: 19px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }
}

@media (min-width: 1766.88px) {
  .header-content {
    max-width: 1636px;
    margin: 0 auto;
  }
  .footer-content {
    max-width: 1636px;
    margin: 0 auto;
  }
}

@media (min-width: 769px) and (max-width: 1766.88px) {
  .header-content,
  .footer-content {
    padding: 0 4vw;
  }
}
