/* This skin uses the existing WordPress layout, navigation, forms and content. */
body.dsc-theme {
  --ds-ink: #192f2b;
  --ds-green: #17483b;
  --ds-deep: #10342b;
  --ds-mint: #d6eee0;
  --ds-paper: #f9f9f4;
  --ds-border: #d9e4da;
  --ds-text-font: "Noto Sans Thai", Tahoma, system-ui, sans-serif;
  color: var(--ds-ink);
  font-family: var(--ds-text-font);
}

.dsc-theme :is(#wrapper, #main) {
  background-color: var(--ds-paper);
}

.dsc-theme :where(h1, h2, h3, h4, h5, h6, .nav > li > a) {
  font-family: var(--ds-text-font);
}

.dsc-theme #main :where(h1, h2, h3, h4) {
  line-height: 1.35;
}

.dsc-theme #main :where(h1, h2, h3, h4):not(.dark *):not(.has-text-color):not(.dsc-home *):not(.page-title *) {
  color: var(--ds-ink);
}

.dsc-theme #main :where(.entry-content, .page-content) {
  line-height: 1.75;
}

.dsc-theme #main :is(.entry-content, .page-content) :where(p, li, dd, dt):not(.dark *, .dsc-home *, .has-text-color, .has-text-color *, .has-background *) {
  color: var(--ds-ink);
}

.dsc-theme .header-wrapper:not(.transparent) .header-main {
  background-color: #fff;
  border-top: 3px solid var(--ds-green);
}

.dsc-theme .header-wrapper:not(.transparent) .header-bottom {
  background-color: #fff;
  border-bottom: 1px solid var(--ds-border);
}

.dsc-theme .header-wrapper:not(.transparent) :is(.header-nav, .header-bottom-nav) > li > a {
  color: var(--ds-deep);
  font-weight: 700;
}

.dsc-theme :where(.nav-dropdown, .sub-menu.nav-dropdown) {
  border: 1px solid var(--ds-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 32px #10342b20;
}

.dsc-theme :where(.nav-dropdown, .mobile-sidebar) a:where(:hover, :focus-visible) {
  color: #176c55;
  text-decoration: underline;
  text-underline-offset: .17em;
}

.dsc-theme #main .page-title {
  background-color: #e8f4eb;
  border-bottom: 1px solid var(--ds-border);
}

.dsc-theme #main .page-title:not(.dark):not(.featured-title) {
  background-image: linear-gradient(120deg, #10342b, #17483b);
  color: #fff;
}

.dsc-theme #main .page-title:not(.dark):not(.featured-title) :where(h1, h2, .breadcrumbs, .breadcrumbs a, .title-breadcrumbs) {
  color: #f1fcf4;
}

.dsc-theme #main .page-title :where(.page-title-inner) {
  padding-block: clamp(20px, 3.5vw, 52px);
}

.dsc-theme .page-header .section-title-normal {
  border-color: var(--ds-border);
}

.dsc-theme #main :where(.button, .wp-block-button__link, input[type="submit"]) {
  border-radius: 99px;
  font-family: var(--ds-text-font);
}

.dsc-theme #main :where(.button.primary:not(.is-outline), .wp-block-button:not(.is-style-outline) .wp-block-button__link, input[type="submit"]) {
  background-color: var(--ds-green);
  color: #fff;
}

.dsc-theme #main :where(.button.primary.is-outline) {
  color: var(--ds-green);
  border-color: #8bb09c;
}

.dsc-theme #main a.button[href*="line.me"]:not(.icon) {
  background-color: #b9f4c5;
  border-color: #75b98a;
  color: #0f3c2b;
  font-weight: 750;
}

.dsc-theme #main :where(.entry-content, .page-content) a:not(.button):not(.wp-block-button__link):not(.plain) {
  text-underline-offset: .16em;
}

.dsc-theme :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #26836b;
  outline-offset: 3px;
}

.dsc-theme #main .box-blog-post {
  background-color: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  overflow: hidden;
}

.dsc-theme #main .box-blog-post .box-text {
  padding-inline: 16px;
}

.dsc-theme :is(.footer-1, .footer-2, .absolute-footer) {
  background-color: var(--ds-deep);
  color: #e5f5e9;
}

.dsc-theme :is(.footer-1, .footer-2, .absolute-footer) :where(a, h1, h2, h3, h4, .widget-title) {
  color: #f1fcf4;
}

@media (max-width: 680px) {
  .dsc-theme #main :where(.button:not(.icon), .wp-block-button__link) {
    min-height: 44px;
  }
}
