/* Site-wide presentation layer for the DS/DC WordPress theme.
   It keeps builder, post, link, image and embed content untouched. */
body.wp-theme-yootheme {
  --dsdc-ink: #292626;
  --dsdc-muted: #686362;
  --dsdc-wine: #70252d;
  --dsdc-wine-dark: #220000;
  --dsdc-line: #e5dfd9;
  --dsdc-paper: #f6f3ef;
  --dsdc-soft: #fbfaf8;
  --dsdc-button-radius: 2px;
  --home-ink: var(--dsdc-ink);
  --home-muted: var(--dsdc-muted);
  --home-wine: var(--dsdc-wine);
  --home-line: var(--dsdc-line);
  --home-paper: var(--dsdc-paper);
  --svc-ink: var(--dsdc-ink);
  --svc-muted: var(--dsdc-muted);
  --svc-wine: var(--dsdc-wine);
  --svc-line: var(--dsdc-line);
  --pg-ink: var(--dsdc-ink);
  --pg-muted: var(--dsdc-muted);
  --pg-wine: var(--dsdc-wine);
  --pg-line: var(--dsdc-line);
  color: var(--dsdc-ink);
  background: #fff;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.wp-theme-yootheme .uk-container {
  max-width: 1160px;
}

body.wp-theme-yootheme .tm-header {
  border-bottom: 1px solid var(--dsdc-line);
}

body.wp-theme-yootheme .uk-navbar-container:not(.uk-navbar-transparent) {
  background: #fff;
}

body.wp-theme-yootheme .uk-navbar-nav > li > a {
  min-height: 84px;
  color: var(--dsdc-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

body.wp-theme-yootheme .uk-navbar-nav > li:hover > a,
body.wp-theme-yootheme .uk-navbar-nav > li > a:hover,
body.wp-theme-yootheme .uk-navbar-nav > li.uk-active > a {
  color: var(--dsdc-wine);
}

body.wp-theme-yootheme .uk-navbar-dropdown {
  border-top: 2px solid var(--dsdc-wine);
  box-shadow: 0 18px 40px rgba(41, 38, 38, .12);
}

body.wp-theme-yootheme #tm-main {
  overflow: clip;
}

body.wp-theme-yootheme #tm-main .uk-section {
  padding-block: 56px;
}

body.wp-theme-yootheme #tm-main .uk-section-muted,
body.wp-theme-yootheme #tm-main .uk-section-default:nth-of-type(even) {
  background: var(--dsdc-paper);
  color: var(--dsdc-ink);
}

body.wp-theme-yootheme #tm-main .uk-section-primary,
body.wp-theme-yootheme #tm-main .uk-section-secondary {
  background: var(--dsdc-wine-dark) !important;
  color: rgba(255,255,255,.86) !important;
}

body.wp-theme-yootheme #tm-main .uk-section-primary h1,
body.wp-theme-yootheme #tm-main .uk-section-primary h2,
body.wp-theme-yootheme #tm-main .uk-section-primary h3,
body.wp-theme-yootheme #tm-main .uk-section-primary h4,
body.wp-theme-yootheme #tm-main .uk-section-primary .el-title,
body.wp-theme-yootheme #tm-main .uk-section-secondary h1,
body.wp-theme-yootheme #tm-main .uk-section-secondary h2,
body.wp-theme-yootheme #tm-main .uk-section-secondary h3,
body.wp-theme-yootheme #tm-main .uk-section-secondary h4,
body.wp-theme-yootheme #tm-main .uk-section-secondary .el-title {
  color: #f2e6cf !important;
}

body.wp-theme-yootheme #tm-main .uk-section-primary .el-content,
body.wp-theme-yootheme #tm-main .uk-section-primary .uk-panel,
body.wp-theme-yootheme #tm-main .uk-section-secondary .el-content,
body.wp-theme-yootheme #tm-main .uk-section-secondary .uk-panel {
  color: rgba(255,255,255,.84) !important;
}

body.wp-theme-yootheme #tm-main .uk-section-primary a,
body.wp-theme-yootheme #tm-main .uk-section-secondary a {
  color: #f2e6cf !important;
}

body.wp-theme-yootheme #tm-main h1,
body.wp-theme-yootheme #tm-main .uk-h1,
body.wp-theme-yootheme #tm-main .el-title:is(h1) {
  color: var(--dsdc-wine) !important;
  font-family: Arial, "Segoe UI", sans-serif !important;
  font-size: clamp(30px, 3.4vw, 42px) !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
}

body.wp-theme-yootheme #tm-main h2,
body.wp-theme-yootheme #tm-main .uk-h2,
body.wp-theme-yootheme #tm-main .el-title:is(h2) {
  color: var(--dsdc-wine) !important;
  font-family: Arial, "Segoe UI", sans-serif !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 650 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
}

body.wp-theme-yootheme #tm-main h3,
body.wp-theme-yootheme #tm-main .uk-h3,
body.wp-theme-yootheme #tm-main .el-title:is(h3) {
  color: var(--dsdc-ink) !important;
  font-family: Arial, "Segoe UI", sans-serif !important;
  font-size: clamp(19px, 2vw, 24px) !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
}

body.wp-theme-yootheme #tm-main h4,
body.wp-theme-yootheme #tm-main .uk-h4,
body.wp-theme-yootheme #tm-main .el-title:is(h4) {
  color: var(--dsdc-ink) !important;
  font-family: Arial, "Segoe UI", sans-serif !important;
  font-size: 18px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.wp-theme-yootheme #tm-main .el-content,
body.wp-theme-yootheme #tm-main .uk-article,
body.wp-theme-yootheme #tm-main .uk-panel {
  color: var(--dsdc-muted);
  font-size: 16px !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
}

body.wp-theme-yootheme #tm-main .el-content,
body.wp-theme-yootheme #tm-main .uk-article,
body.wp-theme-yootheme #tm-main .uk-article :is(p, li, span, div, td) {
  color: inherit !important;
}

body.wp-theme-yootheme #tm-main strong,
body.wp-theme-yootheme #tm-main b {
  color: var(--dsdc-ink) !important;
  font-weight: 650;
}

body.wp-theme-yootheme #tm-main a {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main a:hover {
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main a :is(p, li, span, div):not(.el-title):not(.uk-article-title) {
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main .uk-button,
body.wp-theme-yootheme #tm-main .el-link.uk-button,
body.wp-theme-yootheme #tm-main input[type="submit"],
body.wp-theme-yootheme #tm-main button[type="submit"] {
  min-height: 44px;
  border: 1px solid var(--dsdc-wine) !important;
  border-radius: var(--dsdc-button-radius) !important;
  background: var(--dsdc-wine) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  white-space: normal;
}

body.wp-theme-yootheme #tm-main .uk-button:hover,
body.wp-theme-yootheme #tm-main .el-link.uk-button:hover,
body.wp-theme-yootheme #tm-main input[type="submit"]:hover,
body.wp-theme-yootheme #tm-main button[type="submit"]:hover {
  border-color: var(--dsdc-ink) !important;
  background: var(--dsdc-ink) !important;
  color: #fff !important;
}

body.wp-theme-yootheme #tm-main .uk-button-default {
  background: transparent !important;
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main .uk-card {
  box-shadow: none;
}

body.wp-theme-yootheme #tm-main .uk-card-default,
body.wp-theme-yootheme #tm-main .el-item.uk-card,
body.wp-theme-yootheme #tm-main article.uk-card {
  border: 1px solid var(--dsdc-line) !important;
  border-radius: 6px;
  background: #fff !important;
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main .uk-card-body {
  padding: 26px;
}

body.wp-theme-yootheme #tm-main .uk-card-default .el-title,
body.wp-theme-yootheme #tm-main article.uk-card .el-title,
body.wp-theme-yootheme #tm-main .uk-link-toggle .el-title {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main .uk-card-default .el-content,
body.wp-theme-yootheme #tm-main .uk-card-default .el-meta,
body.wp-theme-yootheme #tm-main article.uk-card .el-content,
body.wp-theme-yootheme #tm-main article.uk-card .el-meta,
body.wp-theme-yootheme #tm-main .uk-link-toggle .el-content,
body.wp-theme-yootheme #tm-main .uk-link-toggle .el-meta {
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main .el-meta,
body.wp-theme-yootheme #tm-main .uk-text-meta,
body.wp-theme-yootheme #tm-main .uk-article-meta {
  color: #81716a !important;
  letter-spacing: 0 !important;
}

body.wp-theme-yootheme #tm-main .uk-grid-divider > :not(.uk-first-column)::before,
body.wp-theme-yootheme #tm-main .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
  border-color: var(--dsdc-line);
}

body.wp-theme-yootheme #tm-main hr,
body.wp-theme-yootheme #tm-main .uk-hr,
body.wp-theme-yootheme #tm-main .uk-heading-divider {
  border-color: var(--dsdc-line) !important;
}

body.wp-theme-yootheme #tm-main .uk-accordion-title {
  color: var(--dsdc-ink) !important;
  border-top: 1px solid var(--dsdc-line);
  padding-block: 18px;
  font-weight: 650;
  letter-spacing: 0;
}

body.wp-theme-yootheme #tm-main .uk-accordion-content {
  color: var(--dsdc-muted);
  line-height: 1.8;
}

body.wp-theme-yootheme #tm-main .uk-tab > * > a,
body.wp-theme-yootheme #tm-main [uk-tab] > * > a {
  color: var(--dsdc-muted);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

body.wp-theme-yootheme #tm-main .uk-tab > .uk-active > a,
body.wp-theme-yootheme #tm-main [uk-tab] > .uk-active > a {
  color: var(--dsdc-wine) !important;
  border-color: var(--dsdc-wine);
}

body.wp-theme-yootheme #tm-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
}

body.wp-theme-yootheme #tm-main table th,
body.wp-theme-yootheme #tm-main table td {
  border: 1px solid var(--dsdc-line);
  padding: 12px;
  vertical-align: top;
}

body.wp-theme-yootheme #tm-main table th,
body.wp-theme-yootheme #tm-main table tr:first-child td {
  background: var(--dsdc-wine);
  color: #fff !important;
  font-weight: 650;
}

body.wp-theme-yootheme #tm-main table tr:nth-child(even) td {
  background: var(--dsdc-soft);
}

body.wp-theme-yootheme #tm-main img,
body.wp-theme-yootheme #tm-main iframe {
  max-width: 100%;
}

body.wp-theme-yootheme #tm-main .uk-article {
  max-width: 860px;
  margin-inline: auto;
}

body.wp-theme-yootheme #tm-main .uk-article-title {
  color: var(--dsdc-wine) !important;
  font-size: clamp(30px, 3.4vw, 42px) !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

body.wp-theme-yootheme #tm-main .uk-article h2,
body.wp-theme-yootheme #tm-main .uk-article .el-title:is(h2) {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main .uk-article h3,
body.wp-theme-yootheme #tm-main .uk-article h4,
body.wp-theme-yootheme #tm-main .uk-article .el-title:is(h3, h4) {
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main .uk-article-meta {
  color: #81716a;
  font-size: 13px;
}

body.wp-theme-yootheme #tm-main .uk-pagination > * > * {
  color: var(--dsdc-muted);
}

body.wp-theme-yootheme #tm-main .uk-pagination > .uk-active > * {
  color: var(--dsdc-wine);
  font-weight: 650;
}

body.wp-theme-yootheme #tm-main .tm-sidebar .uk-card,
body.wp-theme-yootheme #tm-main aside .uk-card {
  border: 1px solid var(--dsdc-line);
  background: #fff;
}

body.wp-theme-yootheme #tm-main :is(.uk-list, .uk-list-large) > * {
  color: inherit;
}

body.wp-theme-yootheme #tm-main .uk-text-primary,
body.wp-theme-yootheme #tm-main .uk-text-success,
body.wp-theme-yootheme #tm-main .uk-text-warning,
body.wp-theme-yootheme #tm-main .uk-text-danger {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) {
  background: var(--dsdc-wine-dark) !important;
  color: rgba(255,255,255,.82);
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) > .uk-section {
  background: transparent !important;
  color: rgba(255,255,255,.82) !important;
  padding-block: 48px;
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) .el-content,
body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) strong {
  color: rgba(255,255,255,.82) !important;
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) h4,
body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) .el-title {
  color: #f2e6cf !important;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0;
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) a {
  color: #f2e6cf !important;
}

body.wp-theme-yootheme :is([id="builderwidget-3"], [id="builderwidget-4"]) a:hover {
  color: #fff !important;
}

body.home.page-id-46139 #tm-main [id="page#0"] .el-link {
  display: none !important;
}

/* Final site-wide color normalization.
   This is intentionally late in the cascade so page-specific refresh files cannot
   leave one page family with a different text/background palette. */
body.wp-theme-yootheme #tm-main :is(.uk-tile-default, .uk-card-default, article.uk-card) {
  background-color: #fff !important;
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-muted, .uk-tile-muted) {
  background-color: var(--dsdc-paper) !important;
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-tile-secondary) {
  background-color: var(--dsdc-wine) !important;
  color: rgba(255, 255, 255, .86) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-tile-secondary) :is(h1, h2, h3, h4, .el-title, strong, b) {
  color: #f2e6cf !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-tile-secondary) :is(p, li, .el-content) {
  color: rgba(255, 255, 255, .86) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-tile-secondary) a {
  color: #f2e6cf !important;
}

body.wp-theme-yootheme #tm-main .uk-tile-default :is(h1, h2, .el-title:is(h1, h2), .uk-text-warning) {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main .uk-tile-default :is(h3, h4, strong, b) {
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main .uk-tile-default :is(p, li, .el-content) {
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main .uk-text-meta,
body.wp-theme-yootheme #tm-main .el-meta {
  color: var(--dsdc-muted) !important;
  letter-spacing: 0 !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-text-warning, .uk-text-danger, .uk-text-primary) {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-light, .uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-tile-secondary) :is(.uk-text-warning, .uk-text-danger, .uk-text-primary) {
  color: #f2e6cf !important;
}

body:is(.page-id-414, .page-id-46415).wp-theme-yootheme #tm-main .uk-tile-default :is(.uk-text-warning, h2) {
  color: var(--dsdc-wine) !important;
}

body:is(.page-id-414, .page-id-46415).wp-theme-yootheme #tm-main .uk-tile-default p {
  color: var(--dsdc-muted) !important;
}

body.archive.wp-theme-yootheme #tm-main article.uk-card,
body.blog.wp-theme-yootheme #tm-main article.uk-card,
body.search.wp-theme-yootheme #tm-main article.uk-card {
  border: 1px solid var(--dsdc-line) !important;
  border-radius: 6px;
  background: #fff !important;
}

body.archive.wp-theme-yootheme #tm-main article.uk-card .uk-card-body,
body.blog.wp-theme-yootheme #tm-main article.uk-card .uk-card-body,
body.search.wp-theme-yootheme #tm-main article.uk-card .uk-card-body {
  padding: 24px !important;
}

body.archive.wp-theme-yootheme #tm-main article.uk-card .uk-card-title,
body.blog.wp-theme-yootheme #tm-main article.uk-card .uk-card-title,
body.search.wp-theme-yootheme #tm-main article.uk-card .uk-card-title {
  color: var(--dsdc-wine) !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.34 !important;
}

body.archive.wp-theme-yootheme #tm-main :is(.uk-card, .el-item) :is(.uk-card-title, .el-title:is(h2, h3)),
body.blog.wp-theme-yootheme #tm-main :is(.uk-card, .el-item) :is(.uk-card-title, .el-title:is(h2, h3)),
body.search.wp-theme-yootheme #tm-main :is(.uk-card, .el-item) :is(.uk-card-title, .el-title:is(h2, h3)) {
  color: var(--dsdc-wine) !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.34 !important;
  font-weight: 650 !important;
}

body.archive.wp-theme-yootheme #tm-main .tm-sidebar,
body.blog.wp-theme-yootheme #tm-main .tm-sidebar,
body.search.wp-theme-yootheme #tm-main .tm-sidebar {
  background: var(--dsdc-paper);
}

body.archive.wp-theme-yootheme #tm-main .tm-sidebar :is(h3, h4, .el-title, .uk-heading-bullet),
body.blog.wp-theme-yootheme #tm-main .tm-sidebar :is(h3, h4, .el-title, .uk-heading-bullet),
body.search.wp-theme-yootheme #tm-main .tm-sidebar :is(h3, h4, .el-title, .uk-heading-bullet) {
  color: var(--dsdc-ink) !important;
  font-size: 18px !important;
}

body.single-post.wp-theme-yootheme #tm-main .uk-article-title,
body.single-post.wp-theme-yootheme #tm-main h1 {
  color: var(--dsdc-wine) !important;
}

body.single-post.wp-theme-yootheme #tm-main .uk-article :is(p, li, td) {
  color: var(--dsdc-muted) !important;
}

body.single-post.wp-theme-yootheme #tm-main .uk-article :is(strong, b) {
  color: var(--dsdc-ink) !important;
}

body.single-post.wp-theme-yootheme #tm-main .uk-article table tr:first-child :is(td, th),
body.single-post.wp-theme-yootheme #tm-main .uk-article table th {
  background: var(--dsdc-wine) !important;
  color: #fff !important;
}

/* Context-aware color system. Builder pages sometimes nest white tiles inside
   dark sections, so color must follow the actual surface instead of the page. */
body.wp-theme-yootheme {
  --dsdc-inverse: rgba(255, 255, 255, .86);
  --dsdc-inverse-muted: rgba(255, 255, 255, .78);
  --dsdc-cream: #f2e6cf;
  --dsdc-white: #fff;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-card-primary) {
  background-color: var(--dsdc-wine-dark) !important;
  color: var(--dsdc-inverse) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-card-primary) :is(h1, h2, h3, h4, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .el-title, .uk-text-warning) {
  color: var(--dsdc-cream) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-card-primary) :is(.el-content, .uk-panel, p, li, td) {
  color: var(--dsdc-inverse-muted) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-card-primary) :is(a, .el-link) {
  color: var(--dsdc-cream) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-primary, .uk-section-secondary, .uk-tile-primary, .uk-card-primary) :is(a, .el-link):hover {
  color: var(--dsdc-white) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) {
  background-color: var(--dsdc-white) !important;
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) :is(h1, h2, .uk-h1, .uk-h2, .el-title:is(h1, h2), .uk-text-warning) {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) :is(h3, h4, .uk-h3, .uk-h4, .el-title:is(h3, h4), strong, b) {
  color: var(--dsdc-ink) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) :is(.el-content, .uk-panel, p, li, td) {
  color: var(--dsdc-muted) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) :is(a, .el-link) {
  color: var(--dsdc-wine) !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-section-default, .uk-tile-default, .uk-card-default, .el-item.uk-card, article.uk-card) :is(a, .el-link):hover {
  color: var(--dsdc-ink) !important;
}

body.home:is(.page-id-465, .page-id-46139) #tm-main > .uk-section-default:first-of-type [id="page#0"] .el-title {
  color: #fff !important;
}

body.home:is(.page-id-465, .page-id-46139) #tm-main [id="page#7"] .el-title {
  color: #fff !important;
}

body.home:is(.page-id-465, .page-id-46139) #tm-main [id="page#3"] .el-link {
  background: transparent !important;
  color: var(--dsdc-wine) !important;
}

body.home:is(.page-id-465, .page-id-46139) #tm-main [id="page#3"] .el-link:hover {
  background: var(--dsdc-wine) !important;
  color: #fff !important;
}

body.wp-theme-yootheme #tm-main :is(.uk-button, .el-link.uk-button, input[type="submit"], button[type="submit"]) {
  color: #fff !important;
}

@media (max-width: 959px) {
  body.wp-theme-yootheme #tm-main .uk-section {
    padding-block: 44px;
  }

  body.wp-theme-yootheme #tm-main .uk-card-body {
    padding: 22px;
  }
}

@media (max-width: 639px) {
  body.wp-theme-yootheme {
    font-size: 15.5px;
  }

  body.wp-theme-yootheme .uk-container {
    padding-inline: 22px;
  }

  body.wp-theme-yootheme #tm-main .uk-section {
    padding-block: 36px;
  }

  body.wp-theme-yootheme #tm-main h1,
  body.wp-theme-yootheme #tm-main .uk-h1,
  body.wp-theme-yootheme #tm-main .el-title:is(h1) {
    font-size: 30px !important;
  }

  body.wp-theme-yootheme #tm-main h2,
  body.wp-theme-yootheme #tm-main .uk-h2,
  body.wp-theme-yootheme #tm-main .el-title:is(h2) {
    font-size: 26px !important;
  }

  body.wp-theme-yootheme #tm-main .uk-card-body {
    padding: 20px;
  }

  body.wp-theme-yootheme #tm-main table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wp-theme-yootheme *,
  body.wp-theme-yootheme *::before,
  body.wp-theme-yootheme *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Final button normalization.
   YOOtheme widgets, pagination and form plugins render buttons with different
   radii. Keep all visible controls crisp and consistent. */
body.wp-theme-yootheme :is(
  .uk-button,
  .el-link.uk-button,
  .uk-search-toggle,
  .uk-navbar-toggle,
  .uk-modal-close,
  .uk-offcanvas-close,
  input[type="submit"],
  input[type="button"],
  button,
  [role="button"],
  .uk-pagination > * > *,
  .page-numbers,
  .wp-block-button__link,
  .wpcf7-submit,
  .gform_button,
  .elementor-button
) {
  border-radius: var(--dsdc-button-radius) !important;
}

body.wp-theme-yootheme #tm-main :is(
  .uk-button,
  .el-link.uk-button,
  input[type="submit"],
  input[type="button"],
  button[type="submit"],
  .wp-block-button__link,
  .wpcf7-submit,
  .gform_button,
  .elementor-button
) {
  min-height: 44px;
  border-radius: var(--dsdc-button-radius) !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

/* Canh deu hai ben (justify) cho MOI doan van ban, ca tieng Viet lan tieng Anh.
   Class lap 3 lan de thang text-align:left/center !important cua
   home-redesign.css, service-redesign.css va cac lop uk-text-center cua theme.
   Loai tru: tieu de, meta, nut, bang, caption, form. Mobile giu canh trai. */
@media (min-width: 640px) {
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main p:not(.el-meta):not(.uk-text-meta):not(.el-title):not(.uk-card-title):not(.uk-button):not(.el-content-empty),
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .el-content:not(.el-meta):not(.uk-text-meta):not(.el-title):not(.uk-card-title):not(.uk-button):not(.el-content-empty),
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .el-content li,
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .entry-content :is(ul, ol) > li,
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .uk-article p,
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .uk-text-center p:not(.el-meta):not(.uk-text-meta):not(.el-title):not(.uk-card-title):not(.uk-button):not(.el-content-empty),
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main .uk-text-center .el-content:not(.el-meta):not(.uk-text-meta):not(.el-title):not(.uk-card-title):not(.uk-button):not(.el-content-empty) {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word;
    hyphens: none;
    overflow-wrap: break-word;
  }

  /* Chu ngan / dieu huong / nut bam giu nguyen canh le goc. */
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main :is(.el-title, .el-meta, .uk-text-meta, .uk-card-title, .uk-button,
         .uk-breadcrumb, .uk-pagination, .uk-nav, .uk-subnav,
         figcaption, caption, th, td, label, legend, blockquote cite) {
    text-align-last: auto !important;
  }

  /* Doan chi chua anh / iframe / nut thi khong can dan deu. */
  body.wp-theme-yootheme.wp-theme-yootheme.wp-theme-yootheme #tm-main p:has(> :is(img, iframe, .uk-button, br):only-child) {
    text-align: inherit !important;
    text-align-last: auto !important;
  }
}
