@font-face {
  font-family: "Noto Arabic Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-arabic.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Devanagari Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-devanagari.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Bengali Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-bengali.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Thai Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-thai.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Japanese Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-japanese.woff") format("woff");
}

@font-face {
  font-family: "Noto Korean Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-korean.woff") format("woff");
}

@font-face {
  font-family: "Noto Chinese Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-chinese.woff") format("woff");
}

:root {
  --theme-background: #1676c2;
  --theme-background-soft: #0d8ac4;
  --theme-background-dark: #0a5f9b;
  --theme-accent: #0dc420;
  --theme-accent-dark: #0aa41a;
  --theme-text: #ffffff;
  --theme-text-soft: #e5f2fc;
  --theme-ink: #2c2c2c;
  --theme-muted: #65717c;
  --theme-white: #ffffff;
  --theme-line: rgba(255, 255, 255, .3);
  --theme-panel: rgba(9, 72, 124, .28);
  --theme-width: 700px;
  --theme-radius: 5px;
  --theme-shadow: 0 8px 24px rgba(4, 49, 85, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--theme-text);
  background: var(--theme-background);
  font-family: "Open Sans", Arial, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
}

:lang(ar) {
  font-family: "Noto Arabic Local", Tahoma, Arial, sans-serif;
}

:lang(hi) {
  font-family: "Noto Devanagari Local", "Nirmala UI", sans-serif;
}

:lang(bn) {
  font-family: "Noto Bengali Local", "Nirmala UI", sans-serif;
}

:lang(th) {
  font-family: "Noto Thai Local", Tahoma, sans-serif;
}

:lang(ja) {
  font-family: "Noto Japanese Local", "Yu Gothic", sans-serif;
}

:lang(ko) {
  font-family: "Noto Korean Local", "Malgun Gothic", sans-serif;
}

:lang(zh) {
  font-family: "Noto Chinese Local", "Microsoft YaHei", sans-serif;
}

a {
  color: var(--theme-white);
  text-underline-offset: .15em;
}

a:hover {
  text-decoration: none;
}

img,
svg,
iframe {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 13px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: 3px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  width: min(var(--theme-width), calc(100% - 24px));
  margin: 0 auto;
}

.top-nav,
#nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 41px;
  margin: 0 auto 22px;
  padding: 4px 0;
  border-bottom: 1px solid var(--theme-accent);
}

.top-nav > a,
#nav > a,
.language-switcher > summary {
  padding: 5px 2px;
  color: var(--theme-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav > a:hover,
.top-nav > a:focus-visible,
#nav > a:hover,
#nav > a:focus-visible,
.language-switcher > summary:hover,
.language-switcher > summary:focus-visible {
  color: var(--theme-white);
  text-decoration: underline;
  outline: none;
}

.language-switcher {
  position: relative;
}

.language-switcher > summary {
  cursor: pointer;
  list-style: none;
}

.language-switcher > summary::-webkit-details-marker {
  display: none;
}

.language-switcher > summary::after {
  content: " ▾";
  font-size: 10px;
}

.language-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  width: min(340px, calc(100vw - 20px));
  max-height: min(68vh, 500px);
  overflow-y: auto;
  padding: 6px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow);
  text-align: left;
}

.language-options a {
  padding: 7px 9px;
  color: var(--theme-ink);
  border-radius: 3px;
  text-decoration: none;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  color: var(--theme-ink);
  background: #eef6fc;
}

[dir="rtl"] .language-options {
  right: auto;
  left: 0;
  text-align: right;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--theme-white);
  direction: ltr;
  text-decoration: none;
}

.brand:hover {
  color: var(--theme-white);
}

.brand-logo {
  display: block;
  width: min(207px, 66vw);
  height: auto;
}

.brand-icon {
  display: grid;
  width: 62px;
  height: 50px;
  place-items: center;
  color: var(--theme-background);
  background: var(--theme-white);
  border: 3px solid var(--theme-accent);
  border-radius: 4px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
  transform: rotate(-3deg);
}

.brand-name {
  margin-left: 8px;
  color: var(--theme-white);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}

[dir="rtl"] .brand-name {
  margin-right: 8px;
  margin-left: 0;
}

.site-content,
#content {
  width: min(var(--theme-width), calc(100% - 24px));
  min-height: 50vh;
  margin: 0 auto;
}

.search-panel {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 8px;
}

form,
#media-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px;
  width: 100%;
  min-height: 44px;
  margin: 0 auto 5px;
  background: var(--theme-white);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 3px;
  box-shadow: var(--theme-shadow);
}

form:focus-within,
#media-search:focus-within {
  outline: 3px solid rgba(13, 196, 32, .38);
}

form #query,
#media-search #query {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  color: var(--theme-ink);
  background: transparent;
  border: 0;
  border-radius: 3px 0 0 3px;
  outline: 0;
  font-size: 16px;
}

form #button,
#media-search #button {
  display: grid;
  width: 54px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--theme-ink);
  background: transparent;
  border: 0;
  border-left: 1px solid #eeeeee;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

[dir="rtl"] form #button,
[dir="rtl"] #media-search #button {
  border-right: 1px solid #eeeeee;
  border-left: 0;
}

form #button:hover,
#media-search #button:hover {
  color: var(--theme-background-dark);
  background: #f2f8fc;
}

form #button svg {
  fill: currentColor;
}

#suggestions {
  position: absolute;
  z-index: 20;
  top: 42px;
  left: 0;
  display: none;
  width: calc(100% - 54px);
  max-height: 280px;
  overflow-y: auto;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-top: 1px solid #eeeeee;
  border-radius: 0 0 3px 3px;
  box-shadow: var(--theme-shadow);
  text-align: left;
}

[dir="rtl"] #suggestions {
  right: 0;
  left: auto;
  text-align: right;
}

#suggestions span {
  display: block;
  padding: 7px 10px;
  line-height: 1.45;
  cursor: pointer;
}

#suggestions span:hover {
  background: #eef6fc;
}

#form_text {
  margin: 6px auto 0;
  color: var(--theme-text-soft);
  font-size: 11px;
  line-height: 1.55;
}

#form_text a {
  color: var(--theme-white);
}

#load {
  display: none;
  width: 100%;
  min-height: 90px;
  margin: 35px auto;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 4px solid rgba(255, 255, 255, .38);
  border-top-color: var(--theme-white);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.breadcrumbs {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin: 26px auto 0;
  padding: 7px 10px;
  color: var(--theme-text-soft);
  background: rgba(0, 0, 0, .08);
  border-radius: 3px;
  font-size: 12px;
  white-space: normal;
}

.breadcrumbs a {
  color: var(--theme-white);
}

.breadcrumbs > a,
.breadcrumbs > span[aria-hidden="true"] {
  flex: 0 0 auto;
  white-space: nowrap;
}

.breadcrumbs span[aria-current="page"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-article,
.search-results-shell {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.page-intro {
  padding: 38px 0 25px;
  text-align: center;
}

.page-intro h1 {
  max-width: 660px;
  margin: 0 auto 14px;
  color: var(--theme-white);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.eyebrow {
  margin: 0 0 6px;
  color: #bff9c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-intro h1 + p:not(.reviewed) {
  max-width: 650px;
  margin: 0 auto 17px;
  color: var(--theme-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.75;
}

.reviewed {
  margin: 11px 0 0;
  color: #cfe5f6;
  font-size: 11px;
}

.content-section,
.pillar-section,
.related-section {
  padding: 28px 0;
}

.content-section h2,
.page-article > h2,
.pillar-section h2,
.related-section h2,
.responsible-box h2 {
  margin: 0 0 13px;
  color: var(--theme-white);
  font-size: clamp(1.2rem, 2.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.012em;
}

.content-section h3,
.page-article h3 {
  margin: 25px 0 9px;
  font-size: clamp(1.02rem, 2vw, 1.1rem);
  line-height: 1.38;
}

.content-section > p {
  margin: 0 0 17px;
}

.content-section > p:last-child {
  margin-bottom: 0;
}

.page-article > p {
  margin: 0 0 17px;
  color: var(--theme-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.page-article > h2 {
  margin-top: 30px;
  padding-top: 0;
}

.blog-index .pillar-section > p,
.blog-article > ul,
.blog-article > ol {
  color: var(--theme-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.blog-index .pillar-section > p {
  margin: 0 0 17px;
}

.blog-index .pillar-section h2 a {
  color: inherit;
}

.blog-article > ul,
.blog-article > ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.blog-article > ul li,
.blog-article > ol li {
  margin: 0 0 7px;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0 0 23px;
  padding: 11px 13px;
  color: var(--theme-text-soft);
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--theme-radius);
  font-size: 12px;
  line-height: 1.55;
}

.article-byline a {
  color: var(--theme-white);
}

.steps-list + p,
.check-list + p {
  margin-top: 17px;
}

.converter-page > h2 {
  margin: 16px 0 12px;
}

.converter-page > p {
  margin-bottom: 13px;
}

.converter-page .responsible-box h2 {
  margin-bottom: 12px;
}

.trending-section {
  padding: 26px 0 28px;
  text-align: left;
}

.home-article .page-intro {
  padding-bottom: 8px;
}

.home-article .trending-section {
  padding: 8px 0 12px;
}

.home-article .pillar-section {
  padding: 12px 0;
}

.home-article .pillar-section + .pillar-section {
  padding-top: 0;
}

.trending-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.trending-heading-group {
  min-width: 0;
}

.trending-heading-group h2 {
  margin: 0 0 7px;
  color: var(--theme-white);
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  font-weight: 650;
  line-height: 1.25;
}

.trending-description {
  max-width: 520px;
  margin: 0;
  color: var(--theme-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.trending-country {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--theme-white);
  background: rgba(13, 196, 32, .18);
  border: 1px solid rgba(120, 244, 133, .46);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.trending-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-item {
  min-width: 0;
}

.trending-link {
  display: grid;
  grid-template-columns: 25px 68px minmax(0, 1fr);
  grid-template-areas:
    "rank cover copy"
    "rank cover action";
  column-gap: 10px;
  min-height: 92px;
  padding: 11px;
  color: var(--theme-white);
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--theme-radius);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.trending-link:hover,
.trending-link:focus-visible {
  color: var(--theme-white);
  background: rgba(9, 72, 124, .5);
  border-color: rgba(255, 255, 255, .42);
  outline: none;
  transform: translateY(-2px);
}

.trending-rank {
  grid-area: rank;
  align-self: center;
  color: #bfe1f7;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  text-align: center;
}

.trending-cover-wrap {
  position: relative;
  grid-area: cover;
  align-self: center;
  width: 68px;
  height: 68px;
}

.trending-cover {
  display: block;
  width: 68px;
  height: 68px;
  background: var(--theme-background-dark);
  border-radius: 4px;
  object-fit: cover;
}

.trending-cover-placeholder {
  display: grid;
  place-items: center;
  color: var(--theme-white);
  font-size: 20px;
}

.trending-new {
  justify-self: start;
  max-width: 100%;
  margin-top: 5px;
  padding: 2px 5px;
  overflow: hidden;
  color: #06360c;
  background: #a8f4b1;
  border-radius: 2px;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trending-copy {
  display: grid;
  grid-area: copy;
  align-self: end;
  min-width: 0;
}

.trending-title,
.trending-artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-title {
  color: var(--theme-white);
  font-size: 13px;
  line-height: 1.35;
}

.trending-artist {
  margin-top: 3px;
  color: var(--theme-text-soft);
  font-size: 10px;
  line-height: 1.4;
}

.trending-action {
  grid-area: action;
  align-self: start;
  justify-self: start;
  margin-top: 5px;
  color: #bff9c5;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}

.trending-empty {
  margin: 0;
  padding: 14px;
  color: var(--theme-text-soft);
  background: var(--theme-panel);
  border-radius: var(--theme-radius);
}

.trending-note {
  margin: 11px 0 0;
  color: #cfe5f6;
  font-size: 10px;
  text-align: right;
}

[dir="rtl"] .trending-section,
[dir="rtl"] .trending-header {
  text-align: right;
}

[dir="rtl"] .trending-action {
  justify-self: start;
}

[dir="rtl"] .trending-note {
  text-align: left;
}

.steps-list,
.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list {
  gap: 10px;
}

.check-list {
  gap: 3px;
}

.steps-list li {
  position: relative;
  min-height: 44px;
  padding: 10px 12px 10px 52px;
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--theme-radius);
  counter-increment: steps;
}

.steps-list li::before {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--theme-white);
  background: var(--theme-accent);
  border-radius: 50%;
  content: counter(steps);
  font-size: 12px;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding: 6px 9px 6px 33px;
}

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 4px;
  color: #78f485;
  content: "✓";
  font-weight: 800;
}

[dir="rtl"] .steps-list li {
  padding-right: 52px;
  padding-left: 12px;
}

[dir="rtl"] .steps-list li::before {
  right: 10px;
  left: auto;
}

[dir="rtl"] .check-list li {
  padding-right: 33px;
  padding-left: 9px;
}

[dir="rtl"] .check-list li::before {
  right: 4px;
  left: auto;
}

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

.content-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 15px;
  color: var(--theme-white);
  background: var(--theme-panel);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--theme-radius);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.content-card:hover {
  color: var(--theme-white);
  background: rgba(9, 72, 124, .48);
  border-color: rgba(255, 255, 255, .42);
  transform: translateY(-2px);
}

.content-card strong {
  color: var(--theme-white);
  font-size: 15px;
  line-height: 1.35;
}

.content-card span {
  color: var(--theme-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.compact-grid .content-card {
  min-height: 105px;
}

.tool-keyword-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-keyword-grid .content-card {
  place-items: center;
  min-height: 72px;
  padding: 12px;
  text-align: center;
}

.tool-keyword-grid .content-card strong {
  font-size: 14px;
}

.responsible-box {
  margin: 24px 0;
  padding: 17px 18px;
  color: var(--theme-ink);
  background: #fff8d9;
  border-left: 4px solid #f0cd42;
  border-radius: var(--theme-radius);
  text-align: left;
}

.responsible-box h2 {
  color: var(--theme-ink);
}

.responsible-box p {
  margin: 0;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-accordion details {
  color: var(--theme-white);
  background: var(--theme-background-soft);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--theme-radius);
  overflow: hidden;
}

.faq-accordion summary {
  position: relative;
  padding: 14px 45px 14px 15px;
  color: var(--theme-white);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

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

.faq-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--theme-white);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-accordion details[open] summary {
  background: rgba(0, 0, 0, .1);
}

.faq-accordion details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 15px 15px;
}

.faq-answer p {
  margin: 13px 0 0;
}

.faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.faq-links a {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--theme-white);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}

.faq-links a:hover {
  background: rgba(255, 255, 255, .12);
}

.converter-intro h1 {
  overflow-wrap: anywhere;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
}

.video-meta div {
  display: flex;
  gap: 6px;
}

.video-meta dt {
  font-weight: 700;
}

.video-meta dd {
  margin: 0;
}

.youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #08131d;
  border-radius: var(--theme-radius);
}

.youtube-player-load,
.youtube-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.youtube-player-load {
  display: block;
  padding: 0;
  border: 0;
  color: var(--theme-white);
  background: #08131d;
  cursor: pointer;
  font: inherit;
}

.youtube-player-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: opacity .2s ease, transform .2s ease;
}

.youtube-player-load:hover .youtube-player-poster,
.youtube-player-load:focus-visible .youtube-player-poster {
  opacity: 1;
  transform: scale(1.015);
}

.youtube-player-load:focus-visible {
  outline: 3px solid var(--theme-accent);
  outline-offset: 3px;
}

.youtube-player-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 50px;
  background: #e62117;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
  transform: translate(-50%, -50%);
}

.youtube-player-icon::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
  content: "";
  transform: translate(-42%, -50%);
}

.youtube-player-label {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, .72);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.youtube-player iframe {
  border: 0;
}

.converter-widget-frame {
  width: 100%;
  min-height: 760px;
}

.converter-widget-frame iframe {
  display: block;
  min-height: 760px;
}

[dir="rtl"] .faq-accordion summary {
  padding-right: 14px;
  padding-left: 45px;
}

[dir="rtl"] .faq-accordion summary::after {
  right: auto;
  left: 15px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--theme-radius);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--theme-ink);
  background: var(--theme-white);
}

th,
td {
  padding: 11px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--theme-white);
  background: var(--theme-background-dark);
}

tbody th {
  background: #eef6fc;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.error-code {
  margin: 0;
  color: var(--theme-white);
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 800;
  line-height: .9;
}

.primary-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  color: var(--theme-white);
  background: var(--theme-accent);
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover {
  color: var(--theme-white);
  background: var(--theme-accent-dark);
}

#text {
  width: 100%;
  margin: 45px auto 0;
  text-align: justify;
}

#text h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}

#text p {
  width: 100%;
  line-height: 1.7;
}

#results,
#error {
  width: 100%;
  margin: 45px auto;
  text-align: center;
}

#results p,
#error p {
  margin: 0 0 12px;
}

.result {
  width: 100%;
  margin: 0 0 12px;
  padding: 13px;
  color: var(--theme-white);
  background: var(--theme-background-soft);
  border-radius: 3px;
  text-align: center;
}

.result .name,
.file .name {
  width: 100%;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result .properties {
  margin: 3px 0 11px;
  color: var(--theme-text-soft);
  font-size: 11px;
}

.result .options,
.file .options {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.result .options a {
  display: inline-block;
  padding: 6px 11px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.result .options a:hover {
  color: var(--theme-background-dark);
  background: #f2f8fc;
}

.file {
  width: 100%;
  margin: 0 0 12px;
  padding: 14px;
  color: var(--theme-ink);
  background: var(--theme-white);
  border-radius: 3px;
  text-align: center;
}

.file .progress,
.file .provider_progress {
  margin: 12px 0;
}

.file .options a,
.file .providers a {
  display: inline-block;
  padding: 7px 11px;
  color: var(--theme-white);
  background: var(--theme-accent);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.file .options a:hover,
.file .providers a:hover {
  color: var(--theme-white);
  background: var(--theme-accent-dark);
}

.file .providers {
  display: grid;
  gap: 7px;
}

.file .cloud,
.file .provider_option {
  display: none;
}

.file .show,
.show {
  display: block;
}

.frameme {
  width: 100%;
  height: 360px;
  margin-bottom: 12px;
}

#control_sources {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 12px;
  color: var(--theme-white);
  background: var(--theme-accent);
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}

#sources {
  display: none;
  width: min(280px, 100%);
  margin: 15px auto 0;
}

#sources a {
  display: block;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: var(--theme-white);
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}

#sources .enabled {
  background: var(--theme-ink);
}

#sources .disabled {
  background: var(--theme-accent);
}

.none,
.list {
  display: none;
}

.list:first-child {
  display: block;
}

.clear {
  clear: both;
}

.margin {
  margin-bottom: 15px;
}

.fa {
  display: inline-block;
  font-style: normal;
}

.fa-search::before {
  content: "⌕";
}

.fa-spinner::before,
.fa-cog::before {
  content: "↻";
}

.fa-download::before {
  content: "↓";
}

.fa-facebook-official::before {
  content: "f";
}

.fa-twitter::before {
  content: "𝕏";
}

.fa-dropbox::before {
  content: "□";
}

.fa-google::before {
  content: "G";
}

.fa-spin {
  animation: spin .75s linear infinite;
}

.site-footer,
#footer {
  width: min(var(--theme-width), calc(100% - 24px));
  margin: 28px auto 0;
  padding: 8px 0 20px;
  color: var(--theme-text-soft);
  border-top: 1px solid var(--theme-accent);
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  margin-bottom: 6px;
}

.footer-links a,
#footer a {
  color: var(--theme-white);
  text-decoration: none;
}

.footer-links a:hover,
#footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 8px 0 0;
}

[dir="rtl"] .page-article,
[dir="rtl"] .search-panel,
[dir="rtl"] .breadcrumbs,
[dir="rtl"] .site-footer,
[dir="rtl"] .responsible-box {
  text-align: right;
}

@media (max-width: 720px) {
  .site-header,
  .site-content,
  #content,
  .site-footer,
  #footer {
    width: calc(100% - 18px);
  }

  .top-nav,
  #nav {
    justify-content: center;
    gap: 16px;
    overflow-x: auto;
  }

  .language-options {
    position: fixed;
    top: 48px;
    right: 10px;
    left: auto;
    grid-template-columns: repeat(2, minmax(125px, 1fr));
    width: min(330px, calc(100vw - 20px));
    max-height: calc(100vh - 62px);
  }

  [dir="rtl"] .language-options {
    right: auto;
    left: 10px;
  }

  .brand-icon {
    width: 55px;
    height: 44px;
    font-size: 16px;
  }

  .brand-name {
    font-size: 35px;
  }

  .page-intro {
    padding-top: 31px;
  }

  .content-section,
  .pillar-section,
  .related-section {
    padding: 24px 0;
  }

  .content-section h2,
  .page-article > h2,
  .pillar-section h2,
  .related-section h2,
  .responsible-box h2 {
    margin-bottom: 13px;
    font-size: clamp(1.18rem, 5.2vw, 1.35rem);
  }

  .content-section h3,
  .page-article h3 {
    font-size: 1.02rem;
  }

  .content-section > p {
    margin-bottom: 15px;
  }

  .page-article > p {
    margin-bottom: 15px;
  }

  .page-article > h2 {
    margin-top: 27px;
  }

  .steps-list + p,
  .check-list + p {
    margin-top: 15px;
  }

  .trending-header {
    display: grid;
    gap: 11px;
  }

  .trending-country {
    justify-self: start;
  }

  .trending-list {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .content-card {
    min-height: 0;
  }

  .faq-accordion {
    gap: 8px;
  }

  .frameme {
    height: 405px;
  }
}

@media (max-width: 430px) {
  .top-nav > a,
  #nav > a,
  .language-switcher > summary {
    font-size: 11px;
  }

  .language-options {
    grid-template-columns: 1fr;
    width: min(230px, calc(100vw - 20px));
  }

  form,
  #media-search {
    grid-template-columns: 1fr 50px;
  }

  form #button,
  #media-search #button {
    width: 50px;
  }

  #suggestions {
    width: calc(100% - 50px);
  }

  .trending-link {
    grid-template-columns: 22px 62px minmax(0, 1fr);
    min-height: 84px;
    padding: 10px 8px;
  }

  .trending-cover-wrap,
  .trending-cover {
    width: 62px;
    height: 62px;
  }

  .result .options,
  .file .options {
    display: grid !important;
  }

  .result .options a,
  .file .options a {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .search-panel,
  .site-footer,
  #footer,
  .language-switcher {
    display: none !important;
  }

  body {
    color: #111111;
    background: #ffffff;
  }

  a,
  .page-intro h1,
  .content-section h2,
  .page-article > h2,
  .pillar-section h2,
  .related-section h2 {
    color: #111111;
  }
}
