:root {
  --type-primary-size: var(--size-title-desktop);
  --type-secondary-size: var(--size-subtitle-desktop);
  --type-text-size: var(--size-text-desktop);
  --type-accent-size: var(--size-label-desktop);
}

body :not(#wpadminbar):not(#wpadminbar *) {
  font-family: var(--font-fa) !important;
  letter-spacing: 0 !important;
}

#wpadminbar,
#wpadminbar *,
#wpadminbar *::before,
#wpadminbar *::after {
  letter-spacing: normal !important;
}

#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar #adminbarsearch::before,
#wpadminbar .ab-item .ab-icon::before {
  font-family: dashicons !important;
}

body {
  direction: rtl;
  text-align: right;
  font-size: var(--type-text-size) !important;
  font-weight: var(--weight-text) !important;
  line-height: var(--lh-text) !important;
}

h1,
h2,
.page-title,
[class*="page-title"],
.hero-title,
.featured-title,
.parvande-title,
body.single-case .parvande-title,
.ep-page-title,
.ep-header-v4 .ep-page-title,
body.single-episode .ep-header-v4 .ep-page-title,
.guest-name,
.guest-name-v4,
body.single-guest .guest-name-v4,
.cases-archive-title,
.cases-featured-title,
.guests-archive-title,
.about-headline,
.contact-title,
.single-content h1,
.single-content h2,
.entry-content h1,
.entry-content h2 {
  font-size: var(--type-primary-size) !important;
  font-weight: var(--weight-title) !important;
  line-height: var(--lh-title) !important;
  text-align: right !important;
}

h3,
h4,
.section-bar-title,
.text-section-title,
.poster-card-title,
.card-title,
[class*="card-title"],
.cases-card-title,
.guest-archive-name,
.guest-episodes-title,
.episode-card-title,
.episode-title,
.episodes-title,
.related-card-title,
.menu-title,
.menu-nav-item,
.menu-nav-list a,
.result-title,
.no-results-title,
.contact-section-title,
.support-title,
.stat-title,
.cases-list-head,
.form-title,
.topic-name,
.member-name,
.guest-ep-title,
body.single-guest .guest-ep-title,
.ep-title,
body.single-case .ep-title,
.nav-title,
.player-ep-title,
.error-title,
[class*="section-title"] {
  font-size: var(--type-secondary-size) !important;
  font-weight: var(--weight-subtitle) !important;
  line-height: var(--lh-subtitle) !important;
  text-align: right !important;
}

p,
li,
blockquote,
.hero-desc,
.featured-subtitle,
.card-subtitle,
.parvande-subtitle,
.parvande-desc,
body.single-case .parvande-subtitle,
body.single-case .parvande-desc,
.cases-archive-intro,
.cases-featured-subtitle,
.cases-featured-desc,
.ep-page-desc,
.ep-header-v4 .ep-page-desc,
body.single-episode .ep-header-v4 .ep-page-desc,
.ep-text-body,
.ep-text-body p,
.ep-transcript-body p,
.ep-desc-text,
body.single-case .ep-desc-text,
body.single-guest .guest-episodes-v4 .ep-desc-text,
.guest-bio,
.guest-bio-v4 p,
body.single-guest .guest-bio-v4 p,
.guest-description,
.guest-summary,
.case-description,
.archive-intro,
.contact-desc,
.contact-copy,
.support-desc,
.result-desc,
.quote-text,
.quote-body,
.manifesto-body p,
.bio-body p,
.form-intro,
.form-note,
.error-desc,
.single-content,
.single-content p,
.entry-content,
.entry-content p {
  font-size: var(--type-text-size) !important;
  font-weight: var(--weight-text) !important;
  line-height: var(--lh-text) !important;
  text-align: justify !important;
  text-align-last: right !important;
}

.hero-badge,
.ch-label,
.ch-info,
.hero-guests,
.hero-guests span,
.hero-guests a,
.section-bar-link,
.page-title-label,
.page-count,
.featured-badge,
.featured-label,
.grid-label,
.card-meta,
.card-eps,
.card-status,
.cases-archive-kicker,
.cases-archive-count,
.cases-featured-label,
.cases-featured-meta,
.cases-card-count,
.guests-archive-count,
.guest-archive-role,
.guest-archive-episodes,
.guest-role,
.guest-role-v4,
body.single-guest .guest-role-v4,
.guest-stat-label,
body.single-guest .guest-stat-label,
.guest-stat-context,
.guest-meta,
.guest-breadcrumbs,
.guest-godar-label,
body.single-guest .guest-godar-label,
.guest-ep-case,
body.single-guest .guest-ep-case,
.guest-ep-source,
body.single-guest .guest-ep-source,
.ep-seq-label,
body.single-episode .ep-seq-label,
.ep-guest-name,
.ep-guest-role,
.ep-guest,
body.single-case .ep-guest,
.ep-label,
body.single-case .ep-label,
.text-note,
.episode-meta,
.episode-number,
.episodes-count,
body.single-case .episodes-count,
.meta-label,
body.single-case .meta-label,
.meta-value,
body.single-case .meta-value,
.guests-label,
body.single-case .guests-label,
.guest-tag,
body.single-case .guest-tag,
.breadcrumb,
.breadcrumbs,
.cases-breadcrumbs,
.result-meta,
.menu-kicker,
.menu-section-label,
.menu-foot-text,
.search-label,
.suggestions-label,
.filter-btn,
.time-label,
.spotify-link,
.player-ep-guest,
.poster-card-ep,
.quote-speaker,
.quote-sub,
.quote-episode,
.contact-label,
.contact-channel-label,
.contact-channel-value,
.form-label,
.topic-sub,
.member-role,
.support-label,
.support-btn-label,
.support-btn-sub,
.support-note,
.nav-label,
.nav-guest,
.stat-label,
.bio-header,
figcaption,
caption,
[class*="meta"],
[class*="label"],
[class*="count"],
[class*="date"],
[class*="number"],
[class*="breadcrumb"] {
  font-size: var(--type-accent-size) !important;
  font-weight: var(--weight-label) !important;
  line-height: var(--lh-label) !important;
  text-align: right !important;
}

.countdown .cd-num,
.cd-num {
  font-size: var(--type-primary-size) !important;
  font-weight: var(--weight-title) !important;
  line-height: var(--lh-title) !important;
  text-align: center !important;
}

.countdown .cd-lbl,
.cd-lbl {
  font-size: var(--type-accent-size) !important;
  font-weight: var(--weight-label) !important;
  line-height: var(--lh-label) !important;
  text-align: center !important;
}

.quote-content::before,
.quote-mark,
.quote-mark-icon,
.stat-num,
.guest-stat-num,
body.single-guest .guest-stat-num,
.ep-seq,
body.single-case .ep-seq,
.guest-ep-num,
.error-code {
  font-size: var(--type-primary-size) !important;
  font-weight: var(--weight-title) !important;
  line-height: var(--lh-title) !important;
}

.godar-home .section-bar-title,
.godar-home .section-bar-link {
  font-size: var(--type-secondary-size) !important;
  font-weight: var(--weight-subtitle) !important;
  line-height: var(--lh-subtitle) !important;
  text-align: right !important;
}

.godar-home .poster-card-title {
  font-size: var(--type-secondary-size) !important;
  font-weight: var(--weight-subtitle) !important;
  line-height: var(--lh-subtitle) !important;
  text-align: center !important;
  text-align-last: center !important;
}

.godar-home .poster-card-ep {
  font-size: var(--type-accent-size) !important;
  font-weight: var(--weight-label) !important;
  line-height: var(--lh-label) !important;
  text-align: center !important;
  text-align-last: center !important;
}

@media (max-width: 1023px) {
  :root {
    --type-primary-size: var(--size-title-tablet);
    --type-secondary-size: var(--size-subtitle-tablet);
    --type-text-size: var(--size-text-tablet);
    --type-accent-size: var(--size-label-tablet);
  }
}

@media (max-width: 767px) {
  :root {
    --type-primary-size: var(--size-title-mobile);
    --type-secondary-size: var(--size-subtitle-mobile);
    --type-text-size: var(--size-text-mobile);
    --type-accent-size: var(--size-label-mobile);
  }
}
