/* Theme Name: DeepL翻译 | Version: 1.0 */
:root {
  --d-navy: #0f2b46;
  --d-navy2: #173f5f;
  --d-teal: #0f766e;
  --d-mint: #dcf5ef;
  --d-sky: #eaf2f8;
  --d-text: #172b3a;
  --d-muted: #637785;
  --d-line: #dbe4e9;
  --d-white: #fff;
  --d-bg: #f6f8fa;
  --d-shadow: 0 16px 45px rgba(15, 43, 70, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.deepl-site {
  margin: 0;
  background: var(--d-bg);
  color: var(--d-text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.deepl-site a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
}
.dl-wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.dl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--d-navy);
  color: #fff;
}
.dl-nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dl-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 800;
}
.dl-logo span {
  letter-spacing: -0.06em;
}
.dl-logo b {
  padding: 4px 7px;
  border-radius: 4px;
  background: #fff;
  color: var(--d-navy);
  font-size: 12px;
}
.dl-menu {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
}
.dl-menu > a:hover {
  color: #7ee0d3;
}
.dl-login {
  padding-left: 25px;
  border-left: 1px solid #416078;
}
.dl-cta {
  padding: 11px 18px;
  border-radius: 6px;
  background: #fff;
  color: var(--d-navy) !important;
  font-weight: 750;
}
.dl-toggle {
  display: none;
  border: 0;
  background: transparent;
}
.dl-toggle i {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px;
  background: #fff;
}
.dl-hero {
  padding: 70px 0 82px;
  background: linear-gradient(180deg, #edf3f7, #f7f9fa);
}
.dl-hero-copy {
  text-align: center;
}
.dl-hero-copy > span,
.dl-section-title > span,
.dl-solutions-grid > div > span,
.dl-news-head span,
.dl-faq-layout > div > span {
  color: var(--d-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.dl-hero-copy h1 {
  margin: 14px 0;
  color: var(--d-navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}
.dl-hero-copy p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--d-muted);
  font-size: 17px;
  line-height: 1.8;
}
.dl-mode-tabs {
  display: flex;
  gap: 8px;
  margin: 43px 0 10px;
}
.dl-mode-tabs button {
  padding: 12px 17px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #506675;
  font-weight: 700;
}
.dl-mode-tabs .active {
  background: #fff;
  color: var(--d-navy);
  box-shadow: 0 3px 14px rgba(15, 43, 70, 0.08);
}
.dl-translator {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #cbd8df;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--d-shadow);
}
.dl-pane {
  min-height: 315px;
  display: flex;
  flex-direction: column;
}
.dl-pane:first-child {
  border-right: 1px solid var(--d-line);
}
.dl-pane-head,
.dl-pane-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.dl-pane-head {
  border-bottom: 1px solid var(--d-line);
}
.dl-pane-head b {
  font-size: 14px;
}
.dl-pane-head span {
  color: #81919c;
  font-size: 11px;
}
.dl-input {
  flex: 1;
  padding: 27px;
  color: #798b96;
  font-size: 21px;
}
.cursor {
  display: inline-block;
  width: 2px;
  height: 23px;
  margin-left: 3px;
  background: var(--d-teal);
  vertical-align: middle;
}
.dl-output {
  flex: 1;
  padding: 27px;
  background: #fafcfc;
}
.dl-output small,
.dl-output strong {
  display: block;
}
.dl-output small {
  color: #99a7af;
}
.dl-output strong {
  margin-top: 35px;
  color: #1b4a56;
  font-size: 22px;
}
.dl-pane-foot {
  color: #8d9aa3;
  font-size: 11px;
}
.dl-pane-foot button {
  border: 0;
  background: transparent;
}
.dl-swap {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--d-line);
  border-radius: 50%;
  background: #fff;
  color: var(--d-teal);
}
.dl-trusted {
  text-align: center;
  color: #738793;
  font-size: 12px;
  margin: 22px 0 0;
}
.dl-trust {
  background: #fff;
  border-block: 1px solid var(--d-line);
}
.dl-trust .dl-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #627684;
}
.dl-trust span {
  font-size: 11px;
}
.dl-trust b {
  font-size: 14px;
}
.dl-feature-section,
.dl-news,
.dl-listing {
  padding: 92px 0;
}
.dl-section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.dl-section-title h2,
.dl-faq-layout h2 {
  font-size: 43px;
  margin: 10px 0;
  color: var(--d-navy);
  letter-spacing: -0.035em;
}
.dl-section-title p,
.dl-faq-layout > div > p {
  color: var(--d-muted);
  line-height: 1.8;
}
.dl-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.dl-feature-grid article {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--d-line);
  border-radius: 12px;
  background: #fff;
}
.dl-feature-grid article.large {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 270px;
  background: var(--d-navy);
  color: #fff;
}
.dl-feature-grid i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 9px;
  background: var(--d-mint);
  color: var(--d-teal);
  font-style: normal;
  font-weight: 800;
}
.dl-feature-grid .large i {
  flex: 0 0 100px;
  height: 100px;
  font-size: 35px;
}
.dl-feature-grid h3 {
  font-size: 23px;
}
.dl-feature-grid p {
  color: #70828e;
  line-height: 1.75;
}
.dl-feature-grid .large p {
  color: #b9c9d4;
}
.dl-feature-grid a {
  color: #78dfd3;
  font-weight: 800;
}
.dl-solutions {
  padding: 95px 0;
  background: #dff3ef;
}
.dl-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.dl-solutions h2 {
  font-size: 45px;
  line-height: 1.2;
  color: var(--d-navy);
}
.dl-solutions p {
  color: #5c7479;
  line-height: 1.85;
}
.dl-solutions ul {
  padding: 0;
  list-style: none;
}
.dl-solutions li {
  padding: 12px 0;
  border-bottom: 1px solid #bfded8;
}
.dl-solutions li b {
  color: var(--d-teal);
}
.dl-flow {
  padding: 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--d-shadow);
}
.dl-flow div {
  padding: 19px;
  border: 1px solid var(--d-line);
  border-radius: 8px;
}
.dl-flow div.active {
  border-color: #5cc4b5;
  background: #eaf9f5;
}
.dl-flow span,
.dl-flow b {
  display: block;
}
.dl-flow span {
  color: #83939b;
  font-size: 10px;
}
.dl-flow b {
  margin-top: 5px;
}
.dl-flow i {
  display: block;
  text-align: center;
  color: var(--d-teal);
  font-style: normal;
}
.dl-news {
  background: #fff;
}
.dl-news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}
.dl-news-head h2 {
  font-size: 39px;
  margin: 7px 0 0;
}
.dl-news-head > a {
  color: var(--d-teal);
  font-weight: 800;
}
.dl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dl-post-card {
  height: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--d-line);
  border-radius: 10px;
  background: #fff;
  transition: 0.2s;
}
.dl-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--d-shadow);
}
.dl-card-image {
  display: flex;
  aspect-ratio: 16/9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #11354e, #247369);
  color: #fff;
}
.dl-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dl-card-image > span {
  font-size: 28px;
  font-weight: 800;
}
.dl-card-image small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  text-align: center;
}
.dl-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}
.dl-card-meta {
  display: flex;
  justify-content: space-between;
  color: #87969f;
  font-size: 11px;
}
.dl-card-meta span {
  color: var(--d-teal);
  font-weight: 700;
}
.dl-card-body h3 {
  font-size: 18px;
  line-height: 1.45;
}
.dl-card-description {
  display: -webkit-box;
  height: 3.4em;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-all;
  text-overflow: ellipsis;
  color: #6c7d87;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.dl-read {
  margin-top: auto;
  color: var(--d-teal) !important;
  font-weight: 800;
}
.dl-empty {
  grid-column: 1/-1;
  padding: 50px;
  text-align: center;
}
.dl-faq-section {
  padding: 90px 0;
  background: #f0f4f6;
}
.dl-faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 75px;
}
.dl-faq {
  border-bottom: 1px solid #ccd8de;
}
.dl-faq summary {
  display: flex;
  justify-content: space-between;
  padding: 21px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}
.dl-faq summary::-webkit-details-marker {
  display: none;
}
.dl-faq summary i {
  color: var(--d-teal);
  font-size: 21px;
  font-style: normal;
}
.dl-faq[open] summary i {
  transform: rotate(45deg);
}
.dl-faq p {
  padding: 0 35px 20px 0;
  color: #687b86;
  line-height: 1.8;
}
.dl-final {
  padding: 65px 0;
  background: var(--d-teal);
  color: #fff;
}
.dl-final .dl-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dl-final span {
  font-size: 11px;
}
.dl-final h2 {
  font-size: 38px;
  margin: 8px 0 0;
}
.dl-final a {
  padding: 14px 20px;
  border-radius: 6px;
  background: #fff;
  color: var(--d-teal);
  background: var(--d-navy);
  font-weight: 800;
}
.dl-footer {
  padding: 60px 0 24px;
  background: var(--d-navy);
  color: #b7c7d1;
}
.dl-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
}
.dl-footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dl-footer-brand p {
  max-width: 360px;
  line-height: 1.8;
}
.dl-footer h3 {
  color: #fff;
}
.dl-footer a:hover {
  color: #fff;
}
.dl-footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #345067;
  font-size: 11px;
}
.dl-page-hero {
  padding: 75px 0;
  text-align: center;
  background: var(--d-navy);
  color: #fff;
}
.dl-page-hero > div > span,
.dl-archive-head > div > div > span {
  color: #75ded1;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.dl-page-hero h1 {
  font-size: 48px;
  margin: 13px 0;
}
.dl-page-hero p {
  color: #bdcad3;
}
.dl-archive-head {
  padding: 45px 0 60px;
  background: #eaf2f5;
}
.dl-crumb {
  display: flex;
  gap: 8px;
  color: #7b8d98;
  font-size: 11px;
}
.dl-archive-head > div > div {
  margin-top: 40px;
}
.dl-archive-head h1 {
  font-size: 50px;
  margin: 10px 0;
}
.dl-archive-head p {
  color: var(--d-muted);
}
.dl-pagination {
  margin-top: 45px;
}
.dl-pagination ul,
.dl-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0;
  list-style: none;
}
.dl-pagination a,
.dl-pagination span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--d-line);
  border-radius: 6px;
  background: #fff;
}
.dl-pagination .current {
  background: var(--d-teal);
  color: #fff;
}
.dl-legal {
  max-width: 880px;
  padding: 55px 0 85px;
  color: #4f626e;
  line-height: 1.95;
}
.dl-legal .date {
  text-align: center;
  color: #8898a1;
}
.dl-legal h2 {
  margin-top: 32px;
  color: var(--d-navy);
  font-size: 21px;
}
.dl-single {
  background: var(--d-bg);
}
.dl-single-crumb {
  padding: 25px 0;
}
.dl-article-header {
  padding: 30px 0 50px;
  background: #fff;
  text-align: center;
}
.dl-article-header > div {
  max-width: 940px;
}
.dl-article-label {
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--d-mint);
  color: var(--d-teal);
  font-size: 10px;
  font-weight: 800;
}
.dl-article-header h1 {
  font-size: clamp(34px, 5vw, 53px);
  line-height: 1.25;
  margin: 18px 0;
}
.dl-article-header > div > p {
  max-width: 760px;
  margin: auto;
  color: #687b86;
  line-height: 1.8;
}
.dl-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 25px;
  color: #7c8e98;
  font-size: 11px;
}
.dl-article-meta > b {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--d-navy);
  color: #fff;
}
.dl-article-meta i {
  width: 1px;
  height: 18px;
  background: var(--d-line);
}
.dl-cover {
  max-height: 580px;
  overflow: hidden;
}
.dl-cover img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}
.dl-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 300px;
  gap: 40px;
  padding-top: 50px;
  padding-bottom: 60px;
}
.dl-article-card {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--d-line);
  border-radius: 12px;
  background: #fff;
}
.dl-article-content {
  font-size: 17px;
  line-height: 2;
  color: #344b58;
}
.dl-article-content h2 {
  margin: 2em 0 0.7em;
  color: var(--d-navy);
  font-size: 28px;
}
.dl-article-content h3 {
  font-size: 21px;
}
.dl-article-content img {
  height: auto;
  border-radius: 8px;
}
.dl-article-content blockquote {
  margin: 25px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--d-teal);
  background: #edf8f5;
}
.dl-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 20px;
  background: #edf5f4;
}
.dl-author-box > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: var(--d-navy);
  color: #fff;
}
.dl-author-box p {
  margin: 4px 0 0;
  color: #71838d;
  font-size: 12px;
}
.dl-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.dl-side-tool {
  padding: 28px;
  border-radius: 12px;
  background: var(--d-navy);
  color: #fff;
}
.dl-side-tool > span {
  color: #80dace;
  font-size: 10px;
}
.dl-side-tool h2 {
  font-size: 25px;
}
.dl-side-tool p {
  color: #b8c8d2;
  font-size: 12px;
  line-height: 1.7;
}
.dl-side-tool a {
  display: block;
  padding: 11px;
  border-radius: 5px;
  background: #fff;
  color: var(--d-teal);
  text-align: center;
  font-weight: 800;
}
.dl-side-latest {
  padding: 24px;
  border: 1px solid var(--d-line);
  border-radius: 12px;
  background: #fff;
}
.dl-side-latest > a {
  display: flex;
  gap: 11px;
  padding: 13px 0;
  border-top: 1px solid var(--d-line);
}
.dl-side-latest em {
  font-size: 10px;
  font-style: normal;
  color: #9ba8af;
}
.dl-side-latest span,
.dl-side-latest b,
.dl-side-latest small {
  display: block;
}
.dl-side-latest b {
  font-size: 12px;
}
.dl-side-latest small {
  margin-top: 5px;
  color: #97a4ac;
}
.dl-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding-bottom: 65px;
}
.dl-post-nav a {
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--d-line);
  border-radius: 8px;
  background: #fff;
}
.dl-post-nav > div:last-child {
  text-align: right;
}
.dl-post-nav small {
  color: #8998a1;
}
.dl-related {
  padding: 70px 0 85px;
  background: #fff;
}
@media (max-width: 900px) {
  .dl-menu {
    gap: 16px;
  }
  .dl-solutions-grid,
  .dl-faq-layout {
    grid-template-columns: 1fr;
  }
  .dl-article-layout {
    grid-template-columns: 1fr;
  }
  .dl-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .dl-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .dl-toggle {
    display: block;
  }
  .dl-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--d-navy);
  }
  .dl-menu.open {
    display: flex;
  }
  .dl-login {
    padding-left: 0;
    border: 0;
  }
  .dl-cta {
    text-align: center;
  }
  .dl-translator {
    grid-template-columns: 1fr;
  }
  .dl-pane:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--d-line);
  }
  .dl-swap {
    top: 50%;
    left: auto;
    right: 14px;
    transform: translateY(-50%);
  }
  .dl-trust .dl-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
  }
  .dl-feature-grid {
    grid-template-columns: 1fr;
  }
  .dl-feature-grid article.large {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }
  .dl-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dl-final .dl-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
}
@media (max-width: 520px) {
  .dl-wrap {
    width: min(100% - 28px, 1200px);
  }
  .dl-hero {
    padding-top: 50px;
  }
  .dl-hero-copy h1 {
    font-size: 39px;
  }
  .dl-mode-tabs {
    overflow: auto;
  }
  .dl-mode-tabs button {
    white-space: nowrap;
  }
  .dl-pane {
    min-height: 250px;
  }
  .dl-post-grid,
  .dl-footer-grid {
    grid-template-columns: 1fr;
  }
  .dl-section-title h2,
  .dl-faq-layout h2 {
    font-size: 35px;
  }
  .dl-feature-section,
  .dl-news,
  .dl-listing {
    padding: 70px 0;
  }
  .dl-solutions {
    padding: 70px 0;
  }
  .dl-solutions h2 {
    font-size: 36px;
  }
  .dl-news-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .dl-final h2 {
    font-size: 31px;
  }
  .dl-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .dl-article-header h1 {
    font-size: 32px;
  }
  .dl-article-meta {
    flex-wrap: wrap;
  }
  .dl-article-meta i {
    display: none;
  }
  .dl-article-layout {
    width: 100%;
    padding-top: 20px;
  }
  .dl-article-card {
    border-inline: 0;
    border-radius: 0;
  }
  .dl-sidebar {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1200px);
    margin: auto;
  }
  .dl-post-nav {
    grid-template-columns: 1fr;
  }
  .dl-post-nav > div:last-child {
    text-align: left;
  }
}
body.deepl-site {
  overflow-x: hidden;
}
@media (max-width: 520px) {
  .dl-mode-tabs {
    width: 100%;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .dl-mode-tabs::-webkit-scrollbar {
    display: none;
  }
  .dl-trust .dl-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
  }
  .dl-trust .dl-wrap > span {
    grid-column: 1/-1;
  }
  .dl-toggle {
    flex: 0 0 42px;
    height: 42px;
    padding: 7px;
  }
  .dl-nav {
    width: calc(100% - 28px);
  }
}
