:root {
  --ttcb-navy:       #1b3251;
  --ttcb-navy-2:     #243f63;
  --ttcb-navy-deep:  #142640;
  --ttcb-red:        #c2392e;
  --ttcb-red-2:      #d94f44;
  --ttcb-gold:       #c8882a;
  --ttcb-gold-2:     #e8c97a;
  --ttcb-cream:      #fdf8f2;
  --ttcb-ice:        #f3f7fb;
  --ttcb-text:       #182436;
  --ttcb-muted:      #5d6f84;
  --ttcb-border:     rgba(27,50,81,.12);
  --ttcb-border-2:   rgba(27,50,81,.2);
  --ttcb-radius-sm:  8px;
  --ttcb-radius:     12px;
  --ttcb-radius-lg:  16px;
  --ttcb-shadow-sm:  0 2px 10px rgba(20,38,64,.06);
  --ttcb-shadow:     0 10px 30px rgba(20,38,64,.10);
  --ttcb-ease:       cubic-bezier(.2,.7,.2,1);
  --ttcb-font:       'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ttcb-font-han:   'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

html body,
html body .nav > li > a,
html body .widget,
html body button,
html body input,
html body select,
html body textarea {
  font-family: var(--ttcb-font);
}
html body {
  color: var(--ttcb-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6,
html body .heading-font {
  font-family: var(--ttcb-font);
  color: var(--ttcb-navy);
  letter-spacing: -.01em;
}
::selection { background: rgba(232,201,122,.45); color: var(--ttcb-navy-deep); }

:lang(zh), .hanzi-text, .ttcb-tts-text { font-family: var(--ttcb-font-han); }

@supports (animation-timeline: scroll()) {
  body.single-post::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 1000;
    background: linear-gradient(90deg, var(--ttcb-red), var(--ttcb-gold));
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: ttcb-read-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }
  @keyframes ttcb-read-progress { to { transform: scaleX(1); } }
}

.ttcb-breadcrumb {
  font-size: 13px;
  color: var(--ttcb-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}
.ttcb-breadcrumb a { color: var(--ttcb-muted); text-decoration: none; }
.ttcb-breadcrumb a:hover { color: var(--ttcb-red); }
.ttcb-breadcrumb .separator { margin: 0 6px; opacity: .5; }
.ttcb-breadcrumb .last { color: var(--ttcb-navy); font-weight: 500; }
.ttcb-archive-crumbs { padding-top: 22px; }

.blog-single .entry-header-text { padding-bottom: 6px; }
.blog-single .entry-category {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.blog-single .entry-category a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ttcb-cream);
  border: 1px solid rgba(200,136,42,.28);
  color: var(--ttcb-gold) !important;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.blog-single .entry-category a:hover { background: var(--ttcb-gold); color: #fff !important; }
.blog-single h1.entry-title {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 14px;
}
.blog-single .entry-header-text .entry-divider { display: none; }

.ttcb-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 13.5px;
  color: var(--ttcb-muted);
  padding: 12px 0 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ttcb-border);
}
.ttcb-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ttcb-post-meta svg { color: var(--ttcb-gold); flex: 0 0 auto; }
.ttcb-post-meta strong { color: var(--ttcb-navy); font-weight: 600; }

.ttcb-toc {
  margin: 8px 0 28px;
  background: var(--ttcb-ice);
  border: 1px solid var(--ttcb-border);
  border-radius: var(--ttcb-radius);
  overflow: hidden;
}
.ttcb-toc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ttcb-navy);
}
.ttcb-toc summary::-webkit-details-marker { display: none; }
.ttcb-toc summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ttcb-ease);
}
.ttcb-toc[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.ttcb-toc ol {
  margin: 0;
  padding: 0 18px 16px 40px;
  counter-reset: none;
  columns: 2 260px;
  column-gap: 32px;
}
.ttcb-toc li { margin: 0 0 6px; break-inside: avoid; font-size: 14.5px; line-height: 1.5; }
.ttcb-toc li::marker { color: var(--ttcb-gold); font-weight: 700; }
.ttcb-toc a { color: var(--ttcb-text); text-decoration: none; }
.ttcb-toc a:hover { color: var(--ttcb-red); text-decoration: underline; text-underline-offset: 3px; }

.entry-content [id] { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }

.blog-single .entry-content,
.page-wrapper .entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ttcb-text);
}
.blog-single .entry-content p { margin-bottom: 1.15em; }

.entry-content h2,
.entry-content .wp-block-heading:is(h2) {
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem);
  line-height: 1.3;
  font-weight: 800;
  margin: 2em 0 .8em;
  padding-left: 14px;
  border-left: 4px solid var(--ttcb-red);
}
.entry-content h3 {
  font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  line-height: 1.35;
  font-weight: 700;
  margin: 1.7em 0 .6em;
}
.entry-content h4 { font-size: 1.1rem; font-weight: 700; margin: 1.5em 0 .5em; }

.entry-content a:not(.button):not(.ttcb-btn):not([class*="tts"]) {
  color: var(--ttcb-red);
  text-decoration: underline;
  text-decoration-color: rgba(194,57,46,.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s, color .2s;
}
.entry-content a:not(.button):not(.ttcb-btn):not([class*="tts"]):hover {
  color: var(--ttcb-red-2);
  text-decoration-color: currentColor;
}

.entry-content ul li::marker { color: var(--ttcb-red); }
.entry-content ol li::marker { color: var(--ttcb-gold); font-weight: 700; }
.entry-content li { margin-bottom: .4em; }

.entry-content strong { color: var(--ttcb-navy-deep); }

.entry-content img,
.entry-content .wp-block-image img { border-radius: var(--ttcb-radius); height: auto; }
.entry-content figcaption,
.entry-content .wp-caption-text {
  font-size: 13.5px;
  color: var(--ttcb-muted);
  text-align: center;
  margin-top: 8px;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--ttcb-cream);
  border: 0;
  border-left: 4px solid var(--ttcb-gold);
  border-radius: 0 var(--ttcb-radius) var(--ttcb-radius) 0;
  font-style: normal;
  color: var(--ttcb-text);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content hr,
.entry-content .wp-block-separator {
  border: 0;
  height: 1px;
  background: var(--ttcb-border-2);
  margin: 2.2em auto;
  opacity: 1;
}

.entry-content .wp-block-table,
.entry-content .table-wrap {
  margin: 1.4em 0 1.8em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--ttcb-radius);
  border: 1px solid var(--ttcb-border);
  box-shadow: var(--ttcb-shadow-sm);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 15.5px;
  background: #fff;
}
.entry-content > table {
  display: block;
  overflow-x: auto;
  border-radius: var(--ttcb-radius);
  border: 1px solid var(--ttcb-border);
}
.entry-content .wp-block-table table { border: 0; }
.entry-content table th,
.entry-content table thead td {
  background: var(--ttcb-navy);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 14px;
  border: 0;
  text-align: left;
}
.entry-content table td {
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--ttcb-border);
  vertical-align: middle;
}
.entry-content table tbody tr:nth-child(even) td { background: #f9fbfd; }
.entry-content table tbody tr:hover td { background: var(--ttcb-cream); }
.entry-content table tbody tr:last-child td { border-bottom: 0; }
.ttcb-tts-group,
.ttcb-tts-slow-btn,
.hanzi-with-pen { white-space: nowrap; flex-wrap: nowrap; }
.entry-content table td:has(.ttcb-tts-group) { min-width: 120px; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: transparent; }
.entry-content .wp-block-table figcaption { padding: 8px 12px; margin: 0; }

.entry-content .wp-block-group.has-background {
  border-radius: var(--ttcb-radius);
  padding: 20px 22px;
}

.blog-single .blog-share { margin-top: 32px; }
.blog-single .blog-share .is-divider { display: none; }

.post-sidebar .widget,
#secondary .widget {
  background: #fff;
  border: 1px solid var(--ttcb-border);
  border-radius: var(--ttcb-radius-lg);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--ttcb-shadow-sm);
}
.post-sidebar .widget-title,
#secondary .widget-title,
#secondary .widget > span.widget-title {
  display: block;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ttcb-navy);
  margin-bottom: 14px;
}
#secondary .widget .is-divider {
  width: 32px;
  height: 3px;
  margin: -6px 0 14px;
  background: linear-gradient(90deg, var(--ttcb-red), var(--ttcb-gold));
  border-radius: 2px;
  max-width: none;
}
#secondary .flatsome_recent_posts ul li,
#secondary .widget ul li { border-color: var(--ttcb-border); }
#secondary .recent-blog-posts a { color: var(--ttcb-text); font-weight: 600; line-height: 1.4; }
#secondary .recent-blog-posts .post_comments { display: none; } 
#secondary .recent-blog-posts a:hover { color: var(--ttcb-red); }
#secondary .badge .badge-inner,
#secondary .recent-blog-posts-li .badge-inner { border-radius: var(--ttcb-radius-sm); }
#secondary .tagcloud a,
#secondary .tag-cloud-link {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--ttcb-border-2);
  font-size: 13px !important;
  color: var(--ttcb-navy);
  background: #fff;
  transition: all .18s var(--ttcb-ease);
}
#secondary .tagcloud a:hover,
#secondary .tag-cloud-link:hover {
  background: var(--ttcb-navy);
  border-color: var(--ttcb-navy);
  color: #fff;
}

@media (min-width: 850px) {
  .blog-single .post-sidebar > #secondary,
  .blog-archive .post-sidebar > #secondary {
    position: sticky;
    top: 96px;
  }
}

.archive-page-header,
.blog-archive .page-title {
  text-align: left;
}
.archive-page-header h1,
.blog-archive .page-title {
  font-weight: 800;
}
.blog-archive .post-item .col-inner,
.blog-wrapper .post-item .col-inner,
.row .post-item .box-blog-post {
  background: #fff;
  border: 1px solid var(--ttcb-border);
  border-radius: var(--ttcb-radius-lg);
  overflow: hidden;
  transition: transform .22s var(--ttcb-ease), box-shadow .22s var(--ttcb-ease), border-color .22s;
}
.blog-archive .post-item .col-inner:hover,
.blog-wrapper .post-item .col-inner:hover {
  transform: translateY(-3px);
  box-shadow: var(--ttcb-shadow);
  border-color: transparent;
}
.post-item .box-blog-post .box-text { padding: 16px 18px 20px; }
.post-item .box-blog-post .post-title,
.post-item .box-blog-post h5 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ttcb-navy);
}
.post-item .box-blog-post .is-divider { display: none; }
.post-item .box-blog-post .from_the_blog_excerpt { color: var(--ttcb-muted); font-size: 14.5px; }
.post-item .box-image img { transition: transform .5s var(--ttcb-ease); }
.post-item .col-inner:hover .box-image img { transform: scale(1.04); }
.post-item .badge.post-date .badge-inner {
  background: var(--ttcb-red);
  border-radius: var(--ttcb-radius-sm);
}

.page-numbers.nav-pagination li .page-number,
.nav-pagination > li > span,
.nav-pagination > li > a {
  border-radius: 10px;
  border-color: var(--ttcb-border-2);
  font-weight: 600;
}
.nav-pagination > li > .current,
.nav-pagination > li > span.current,
.nav-pagination > li > a:hover {
  background: var(--ttcb-navy);
  border-color: var(--ttcb-navy);
  color: #fff;
}

.button.primary,
input[type="submit"].button,
.wpcf7-submit {
  background: linear-gradient(135deg, var(--ttcb-red) 0%, var(--ttcb-red-2) 100%) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: none !important;
  letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(194,57,46,.25);
  transition: transform .18s var(--ttcb-ease), box-shadow .18s var(--ttcb-ease);
}
.button.primary:hover,
.wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(194,57,46,.32);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.searchform input[type="search"] {
  border-radius: 10px;
  border: 1px solid var(--ttcb-border-2);
  box-shadow: none;
  transition: border-color .18s, box-shadow .18s;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.searchform input[type="search"]:focus {
  border-color: var(--ttcb-gold);
  box-shadow: 0 0 0 3px rgba(200,136,42,.18);
  outline: 0;
}

.blog-single .entry-author.author-box {
  margin-top: 32px;
  padding: 22px;
  border-radius: var(--ttcb-radius-lg);
  background: var(--ttcb-ice);
  border: 1px solid var(--ttcb-border);
}
.blog-single .entry-author .author-name { color: var(--ttcb-navy); text-transform: none; font-size: 16px; }
.blog-single .entry-author img { border-radius: 50%; }

.blog-single .navigation-post .flex-row { gap: 12px; }
.blog-single .navigation-post a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--ttcb-radius);
  border: 1px solid var(--ttcb-border);
  color: var(--ttcb-navy);
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .18s, background .18s;
}
.blog-single .navigation-post a:hover { border-color: var(--ttcb-gold); background: var(--ttcb-cream); }

#top-link {
  background: var(--ttcb-navy) !important;
  border-color: var(--ttcb-navy) !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: var(--ttcb-shadow);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ttcb-gold);
  outline-offset: 2px;
}

@media (max-width: 549px) {
  .blog-single .entry-content,
  .page-wrapper .entry-content { font-size: 16px; line-height: 1.75; }
  .entry-content table { font-size: 14.5px; }
  .entry-content .wp-block-table table.has-fixed-layout { table-layout: auto; }
  .entry-content .wp-block-table table:has(.ttcb-tts-group) { min-width: 560px; }
  .entry-content table th, .entry-content table td { padding: 9px 10px; }
  .post-sidebar .widget, #secondary .widget { padding: 16px; }
  .ttcb-toc ol { columns: 1; }
}

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

.ttcb-topbar {
  background: linear-gradient(135deg, #142640 0%, #1b3251 50%, #243f63 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 100;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.ttcb-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.ttcb-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #142640 !important;
  background: linear-gradient(135deg, #e8c97a 0%, #c8882a 100%);
  padding: 6px 16px 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  letter-spacing: .005em;
  transition: transform .2s cubic-bezier(.2,.7,.2,1),
              box-shadow .2s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 2px 8px rgba(200,136,42,.28);
  line-height: 1.3;
}
.ttcb-topbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200,136,42,.42);
  color: #142640 !important;
}
.ttcb-topbar-cta svg {
  color: #142640;
  flex-shrink: 0;
  transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.ttcb-topbar-cta:hover svg:last-child {
  transform: translateX(3px);
}
.ttcb-topbar-cta:hover svg:first-child {
  transform: rotate(72deg);
}

@media (max-width: 700px) {
  .ttcb-topbar-inner {
    padding: 7px 14px;
    justify-content: center;
  }
  .ttcb-topbar-cta {
    font-size: 12.5px;
    padding: 5px 14px 5px 10px;
    gap: 6px;
  }
  .ttcb-topbar-cta svg { width: 13px; height: 13px; }
}
@media (max-width: 380px) {
  .ttcb-topbar-cta {
    font-size: 11.5px;
    padding: 4px 12px 4px 8px;
  }
  .ttcb-topbar-cta svg:first-child { display: none; }
}

#header.header {
  font-family: 'Be Vietnam Pro', sans-serif;
  border-bottom: 1px solid rgba(27,50,81,.06);
  transition: box-shadow .3s cubic-bezier(.2,.7,.2,1),
              background-color .3s cubic-bezier(.2,.7,.2,1);
}

#header.stuck .header-main {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 4px 20px rgba(20,38,64,.08);
  border-bottom: 1px solid rgba(27,50,81,.08);
}

#header .header-logo img,
#logo img {
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s;
}
#header .header-logo:hover img,
#logo:hover img {
  transform: scale(1.04);
}

#header .header-nav .nav > li > a,
#header ul.nav > li > a,
#header .nav-line-bottom > li > a::before,
#header .nav-line-grow > li > a::before {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -.005em;
  transition: color .2s cubic-bezier(.2,.7,.2,1) !important;
}

#header .header-nav .nav > li > a,
#header ul.nav > li:not(.html):not(.search-dropdown) > a {
  position: relative;
  padding-bottom: 4px !important;
}
#header .header-nav .nav > li:not(.html):not(.search-dropdown) > a::after,
#header ul.nav > li:not(.html):not(.search-dropdown) > a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #c2392e 0%, #d94f44 100%);
  border-radius: 2px;
  transition: left .28s cubic-bezier(.2,.7,.2,1),
              right .28s cubic-bezier(.2,.7,.2,1);
}
#header .header-nav .nav > li:hover > a::after,
#header .header-nav .nav > li.current-menu-item > a::after,
#header .header-nav .nav > li.current-menu-parent > a::after,
#header .header-nav .nav > li.current-menu-ancestor > a::after,
#header ul.nav > li:hover > a::after,
#header ul.nav > li.current-menu-item > a::after,
#header ul.nav > li.current-menu-parent > a::after,
#header ul.nav > li.current-menu-ancestor > a::after {
  left: 20%;
  right: 20%;
}

#header .header-nav .nav > li > a:hover,
#header ul.nav > li > a:hover {
  color: #c2392e !important;
}

#header .header-nav .nav > li.current-menu-item > a,
#header .header-nav .nav > li.current-menu-parent > a,
#header .header-nav .nav > li.current-menu-ancestor > a,
#header ul.nav > li.current-menu-item > a,
#header ul.nav > li.current-menu-parent > a {
  color: #c2392e !important;
}

#header .nav-dropdown,
#header ul.nav-dropdown,
#header .nav-dropdown-default {
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(20,38,64,.12),
              0 4px 12px rgba(20,38,64,.06) !important;
  padding: 8px !important;
  min-width: 240px !important;
  margin-top: 8px !important;
  background: #ffffff !important;
  animation: ttcb-dropdown-in .22s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
@keyframes ttcb-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#header .nav-dropdown li,
#header ul.nav-dropdown > li {
  border: none !important;
}
#header .nav-dropdown li a,
#header ul.nav-dropdown > li > a {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-weight: 500 !important;
  color: #182436 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  transition: background .18s cubic-bezier(.2,.7,.2,1),
              color .18s cubic-bezier(.2,.7,.2,1),
              padding-left .18s !important;
  border-bottom: none !important;
  text-transform: none !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
#header .nav-dropdown li a:hover,
#header ul.nav-dropdown > li > a:hover,
#header .nav-dropdown li.current-menu-item > a,
#header ul.nav-dropdown > li.current-menu-item > a {
  background: #fdf8f2 !important;
  color: #c2392e !important;
  padding-left: 18px !important;
}

#header .header-search-form-wrapper,
#header .search-dropdown .icon-search,
#header li.search-dropdown a {
  transition: transform .18s cubic-bezier(.2,.7,.2,1), color .18s !important;
}
#header li.search-dropdown a:hover {
  transform: scale(1.08);
  color: #c2392e !important;
}

#header .mobile-nav a,
#header .mobile-menu a {
  transition: transform .18s cubic-bezier(.2,.7,.2,1) !important;
}
#header .mobile-nav a:hover,
#header .mobile-menu a:hover {
  color: #c2392e !important;
}

.mobile-sidebar-levels-1 .nav-sidebar > li > a,
#main-menu ul.nav-sidebar > li > a {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-weight: 600 !important;
  transition: color .18s !important;
}
.mobile-sidebar-levels-1 .nav-sidebar > li > a:hover,
#main-menu ul.nav-sidebar > li > a:hover {
  color: #c2392e !important;
}

.ttcb-tts, .ttcb-wrapper .ttcb-tts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fdf8f2;
  border: 1.5px solid rgba(200,136,42,.25);
  color: #c8882a;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.2,1),
              background .2s, border-color .2s, color .2s, box-shadow .2s;
  outline: none;
  padding: 0;
  vertical-align: middle;
}
.ttcb-tts:hover, .ttcb-wrapper .ttcb-tts:hover {
  background: linear-gradient(135deg, #e8c97a 0%, #c8882a 100%);
  border-color: transparent;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(200,136,42,.3);
}
.ttcb-tts:focus-visible, .ttcb-wrapper .ttcb-tts:focus-visible {
  outline: 2px solid #c8882a;
  outline-offset: 2px;
}
.ttcb-tts .ttcb-tts-icon,
.ttcb-wrapper .ttcb-tts .ttcb-tts-icon {
  display: inline-flex;
  transition: transform .18s;
}
.ttcb-tts:hover .ttcb-tts-icon,
.ttcb-wrapper .ttcb-tts:hover .ttcb-tts-icon {
  transform: scale(1.1);
}

.ttcb-tts.is-playing,
.ttcb-wrapper .ttcb-tts.is-playing {
  background: linear-gradient(135deg, #c2392e 0%, #d94f44 100%);
  border-color: transparent;
  color: #fff;
  animation: ttcb-tts-pulse 1.2s ease-in-out infinite;
}
@keyframes ttcb-tts-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194,57,46,.4); }
  50%      { box-shadow: 0 0 0 10px rgba(194,57,46,0); }
}

.ttcb-tts-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background .18s cubic-bezier(.2,.7,.2,1);
  vertical-align: middle;
  outline: none;
  color: #c2392e;
  font-family: 'Noto Serif SC', 'Songti SC', 'Be Vietnam Pro', serif;
}
.ttcb-tts-inline:hover {
  background: rgba(200,136,42,.08);
}
.ttcb-tts-inline:focus-visible {
  outline: 2px solid #c8882a;
  outline-offset: 2px;
}
.ttcb-tts-inline .ttcb-tts-icon {
  color: #c8882a;
  display: inline-flex;
  flex-shrink: 0;
  transition: transform .18s cubic-bezier(.2,.7,.2,1);
}
.ttcb-tts-inline:hover .ttcb-tts-icon {
  transform: scale(1.15);
  color: #c2392e;
}
.ttcb-tts-inline .ttcb-tts-text {
  color: #c2392e;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.3;
  letter-spacing: .01em;
}

.ttcb-tts-inline.is-playing {
  background: rgba(194,57,46,.1);
  animation: ttcb-tts-pulse-inline 1.2s ease-in-out infinite;
}
.ttcb-tts-inline.is-playing .ttcb-tts-icon {
  color: #c2392e;
  animation: ttcb-tts-icon-wiggle .6s ease-in-out infinite;
}
@keyframes ttcb-tts-pulse-inline {
  0%, 100% { background: rgba(194,57,46,.08); }
  50%      { background: rgba(194,57,46,.18); }
}
@keyframes ttcb-tts-icon-wiggle {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

.ttcb-tts-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

button.ttcb-tts.ttcb-tts-slow-btn {
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: 1.5px solid rgba(20,38,64,.15);
  color: #64788e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
}
button.ttcb-tts.ttcb-tts-slow-btn:hover {
  background: linear-gradient(135deg, #1b3251 0%, #243f63 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27,50,81,.25);
}
button.ttcb-tts.ttcb-tts-slow-btn .ttcb-tts-slow-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

span.ttcb-tts-inline.ttcb-tts-slow-btn {
  padding: 2px 8px;
  color: #64788e;
  background: transparent;
  border: 1.5px solid rgba(20,38,64,.15);
  border-radius: 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.4;
}
span.ttcb-tts-inline.ttcb-tts-slow-btn:hover {
  background: #1b3251;
  border-color: transparent;
  color: #ffffff;
}
span.ttcb-tts-inline.ttcb-tts-slow-btn .ttcb-tts-slow-label {
  color: inherit;
}

.ttcb-tts-slow-btn.is-playing {
  background: linear-gradient(135deg, #1b3251 0%, #243f63 100%) !important;
  border-color: transparent !important;
  color: #e8c97a !important;
  animation: ttcb-tts-slow-pulse 1.2s ease-in-out infinite;
}
@keyframes ttcb-tts-slow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,50,81,.35); }
  50%      { box-shadow: 0 0 0 8px rgba(27,50,81,0); }
}

@media (max-width: 549px) {
  .ttcb-tts-group { gap: 5px; }
  button.ttcb-tts.ttcb-tts-slow-btn { width: 28px; height: 28px; font-size: 10.5px; }
  span.ttcb-tts-inline.ttcb-tts-slow-btn { padding: 2px 7px; font-size: 11px; }
}
