/*
Theme Name: YiYWW
Author: Suncrest Technology Co., Ltd.
Description: WordPress theme rebuilt from the YiYWW static landing pages.
Version: 1.0.0
Requires at least: 6.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yiyww
*/

body {
  background: #f7f7f7;
  color: #2b333b;
}

a:hover {
  text-decoration: none;
}

.icon {
  width: 5em;
  height: 5em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.site-navbar {
  border-bottom: 5px solid #587ab9;
}

.site-navbar .container {
  gap: 18px;
}

.site-navbar-links {
  display: flex !important;
}

.navbar-brand strong {
  color: #4d6faf;
}

.navbar-actions {
  white-space: nowrap;
}

.home-hero {
  overflow: hidden;
}

.home-hero .jumbotron {
  border-radius: 0;
  background-color: #2b333a;
  margin-bottom: 0;
}

.hero-media {
  position: absolute;
  right: 15px;
  z-index: 1;
}

.hero-copy {
  z-index: 999;
  position: relative;
}

.text-shadow {
  text-shadow: #000 2px 0 0, #000 0 2px 0, #000 -2px 0 0, #000 0 -2px 0;
}

.button-download {
  width: 150px;
  height: 50px;
  background: #366bb3;
  border-radius: 5px;
  border: 1px solid #3f60a1;
  cursor: pointer;
  margin: 8px;
}

.button-download:hover {
  background: #0047a6;
}

.button-download-icon {
  width: 50px;
  height: 100%;
  color: #fff;
  font-size: 25px;
}

.button-download-value {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.home-download-link,
.home-download-link:hover {
  color: inherit;
  text-decoration: none;
}

.intro-section {
  padding-top: 32px;
}

.intro-section img {
  max-height: 96px;
  margin-bottom: 16px;
}

.preview-section {
  padding-top: 12px;
}

.feature-section {
  padding: 28px 0 16px;
}

.g-card {
  min-width: 150px;
  height: 150px;
  margin: 5px;
  border-radius: 15px;
  border: 1px solid #dae2ec;
  background: #fff;
  text-align: center;
  padding: 14px;
}

.g-card:hover {
  border: 1px solid #adbed4;
}

.feature-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3f9;
  color: #4d6faf;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card-svg {
  margin-bottom: 10px;
}

.download-section {
  background: #f7f7f7;
  padding: 30px 0 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.download-card {
  min-height: 150px;
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  color: #22282f;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.download-card:hover {
  border-color: #adbed4;
  color: #22282f;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(40, 64, 92, .08);
  transform: translateY(-2px);
}

.download-card .icon {
  width: 5em;
  height: 5em;
  color: #20252b;
  display: block;
}

.download-title {
  font-size: 16px;
  color: #0f1720;
  margin-top: 10px;
}

.page-hero {
  background: #2b333a;
  color: #fff;
  padding: 54px 0 46px;
}

.page-hero img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  color: #dbe5f0;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.faq-wrap,
.about-main,
.price-main,
.content-main {
  padding: 36px 0 10px;
}

.faq-section-title {
  color: #4d6faf;
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  color: #2b333b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef3f9;
  color: #4d6faf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  border-top: 1px solid #edf1f6;
  padding: 16px 22px 20px;
  color: #55616f;
  line-height: 1.8;
}

.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tutorial-step {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  min-height: 190px;
  padding: 22px;
}

.tutorial-step span {
  background: #eef3f9;
  border-radius: 50%;
  color: #4d6faf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  height: 42px;
  margin-bottom: 14px;
  width: 42px;
}

.tutorial-step h2 {
  color: #2b333b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tutorial-step p {
  color: #55616f;
  line-height: 1.75;
  margin-bottom: 0;
}

.info-panel,
.about-panel,
.faq-contact,
.about-info,
.content-panel {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  padding: 24px;
}

.about-panel {
  margin-bottom: 18px;
}

.about-feature-list {
  color: #2b333b;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  line-height: 1.8;
  margin: 14px 0 0;
  padding-left: 20px;
}

.about-panel h2,
.about-info h2,
.faq-contact h2,
.content-panel h1 {
  color: #4d6faf;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-panel p,
.about-info dd,
.faq-contact p,
.content-panel {
  color: #55616f;
  line-height: 1.9;
}

.news-main {
  padding-bottom: 36px;
}

.news-header {
  margin-bottom: 16px;
}

.news-header h1 {
  color: #131313;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.news-card-thumb {
  background: #eef3f9;
  display: block;
  min-height: 160px;
}

.news-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 20px 22px;
}

.news-date {
  color: #7c8897;
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.news-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-card h2 a {
  color: #2b333b;
}

.news-excerpt {
  color: #55616f;
  line-height: 1.8;
}

.news-more {
  color: #4d6faf;
  font-weight: 700;
}

.news-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.news-pagination .page-numbers {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 6px;
  color: #4d6faf;
  display: block;
  min-width: 38px;
  padding: 7px 12px;
  text-align: center;
}

.news-pagination .current {
  background: #4d6faf;
  border-color: #4d6faf;
  color: #fff;
}

.single-post-panel {
  margin: 0 auto;
  max-width: 880px;
}

.single-post-header {
  border-bottom: 1px solid #edf1f6;
  margin-bottom: 22px;
  padding-bottom: 14px;
}

.single-post-image {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 0 0 22px;
  max-width: 100%;
}

.entry-content img {
  height: auto;
  max-width: 100%;
}

.single-post-nav {
  border-top: 1px solid #edf1f6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
}

.single-post-nav a {
  color: #4d6faf;
  font-weight: 700;
}

.price-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-plan,
.vip-prices,
.price-compare {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
}

.price-plan {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px;
}

.price-plan.is-featured {
  border-color: #4d6faf;
  box-shadow: 0 10px 22px rgba(40, 64, 92, .08);
}

.price-plan-head {
  border-bottom: 1px solid #edf1f6;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.price-plan-head h2,
.vip-prices-head h2,
.price-compare h2 {
  color: #2b333b;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-plan-head strong {
  color: #4d6faf;
  display: block;
  font-size: 30px;
  line-height: 1.2;
}

.price-plan p,
.vip-prices-head p,
.price-note {
  color: #55616f;
  line-height: 1.8;
}

.price-feature-list {
  color: #2b333b;
  line-height: 1.9;
  margin: 4px 0 20px;
  padding-left: 20px;
}

.price-button {
  align-self: flex-start;
  background: #366bb3;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  margin-top: auto;
  padding: 10px 18px;
}

.price-button:hover {
  background: #0047a6;
  color: #fff;
  text-decoration: none;
}

.vip-prices,
.price-compare {
  margin-top: 18px;
  padding: 24px;
}

.vip-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.2fr);
  gap: 20px;
  align-items: center;
}

.vip-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vip-price-item {
  background: #eef3f9;
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
}

.vip-price-item span {
  color: #55616f;
  display: block;
  margin-bottom: 6px;
}

.vip-price-item strong {
  color: #df0000;
  font-size: 26px;
}

.price-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.price-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.price-table th,
.price-table td {
  border: 1px solid #dae2ec;
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
}

.price-table thead th {
  background: #2b333a;
  color: #fff;
  font-weight: 700;
}

.price-table tbody th {
  background: #fbfcfe;
  color: #2b333b;
  font-weight: 700;
  text-align: left;
}

.price-status {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  height: 28px;
  width: 28px;
}

.price-status.is-ok {
  background: #e8f8ec;
  color: #27be4b;
}

.price-status.is-ok::before {
  content: "\2713";
}

.price-status.is-no {
  background: #fff0f0;
  color: #df0000;
}

.price-status.is-no::before {
  content: "\00D7";
}

.price-status-text {
  color: #2b333b;
  font-weight: 700;
}

.price-note {
  border-top: 1px solid #edf1f6;
  font-size: 13px;
  margin: 18px 0 0;
  padding-top: 14px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-value {
  background: #fff;
  border: 1px solid #dae2ec;
  border-radius: 8px;
  padding: 22px;
  min-height: 150px;
}

.about-value h3 {
  color: #2b333b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-value p {
  color: #64717f;
  line-height: 1.75;
  margin-bottom: 0;
}

.about-info {
  margin-top: 18px;
}

.about-info dt {
  color: #2b333b;
  font-weight: 700;
  margin-top: 10px;
}

.site-footer {
  color: #2b333b;
}

.footer-legal {
  font-size: 12px;
  background: #2b333b;
  border-radius: 8px;
  color: #848993;
  padding: 8px;
  display: flex;
  justify-content: center;
}

.footer-legal a {
  text-decoration: none;
  color: #848993;
}

.footer-warning {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  font-size: 13px;
  color: #2b333b;
}

@media (max-width: 991px) {
  .site-navbar .container {
    flex-wrap: wrap;
  }

  .site-navbar-links {
    flex-basis: 100%;
  }

  .site-navbar .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .navbar-actions {
    margin-left: 0 !important;
  }

  .tutorial-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-feature-list,
  .tutorial-steps {
    grid-template-columns: 1fr;
  }

  .hero-media {
    opacity: .28;
  }

  .price-plan-grid,
  .vip-prices {
    grid-template-columns: 1fr;
  }

  .vip-price-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .single-post-nav {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 40px 0 34px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

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

  .faq-item summary,
  .faq-answer,
  .about-panel,
  .about-info,
  .about-value,
  .tutorial-step,
  .content-panel {
    padding: 16px;
  }
}

@media (max-width: 360px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}
