/* Shared navigation, archives and article reading layout. */
.txqt-home .txqt-brand-image {
  display: block; width: auto; height: auto;
  max-width: clamp(150px,20vw,250px); max-height: 52px; object-fit: contain;
}
.txqt-site-footer .txqt-brand--image { background: #fff; border-radius: 8px; padding: 7px 10px; }
@media (max-width: 820px) {
  .txqt-home .txqt-brand-image { max-width: min(57vw,225px); max-height: 43px; }
}
.txqt-nav-list, .txqt-nav-list .sub-menu,
.txqt-footer-topics ul, .txqt-crumbs ol { list-style: none; margin: 0; padding: 0; }
.txqt-nav-list li, .txqt-footer-topics li, .txqt-crumbs li { margin: 0; }
.txqt-nav-list { display: flex; align-items: center; gap: clamp(9px, 1.45vw, 22px); }
.txqt-nav-list > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.txqt-main-nav .txqt-nav-list a { display: block; padding: 9px 8px; border-radius: 6px; }
.txqt-main-nav .txqt-nav-list a:hover, .txqt-main-nav .txqt-nav-list [aria-current="page"] { background: #fff5d2; color: #493701; text-decoration: none; }
.txqt-nav-list .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 231px;
  z-index: 2; padding: 7px; border-radius: 10px; border: 1px solid #e5e3d8;
  background: #fff; box-shadow: 0 11px 22px #1c22171a;
}
.txqt-nav-list .sub-menu a { font-size: .87rem; white-space: normal; }
.txqt-nav-list > li:is(:hover, :focus-within) > .sub-menu { display: block; }
.txqt-menu-ready .txqt-nav-list > li > .sub-menu { display: none; }
.txqt-menu-ready .txqt-nav-list > li.txqt-sub-open > .sub-menu { display: block; }
.txqt-home .txqt-sub-toggle {
  display: grid; place-items: center; width: 33px; min-height: 36px; padding: 0; margin: 0;
  border: 0; border-radius: 6px; color: #343b35; background: transparent;
}
.txqt-home .txqt-sub-toggle:hover { background: #fff5d2; }
.txqt-sub-toggle::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.txqt-sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.txqt-footer-directory { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,.9fr); align-items: start; gap: 25px; padding-block: 36px; }
.txqt-footer-topics ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 13px; margin-top: 7px; }
.txqt-footer-topics a { color: #dbe5df; font-size: .84rem; }
.txqt-footer-topics a:hover, .txqt-footer-contact a:hover { text-decoration: underline; }
.txqt-editorial { background: #f8f8f3; min-height: 60vh; }
.txqt-editorial-hero { padding: 27px 0 33px; background: linear-gradient(135deg,#f8f4e5,#edf1e9 75%); border-bottom: 1px solid #e1e4da; }
.txqt-crumbs { margin-bottom: 22px; }
.txqt-crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; color: #455246; font-size: .82rem; }
.txqt-crumbs li:not(:first-child)::before { content: "›"; display: inline-block; margin-right: 9px; color: #625620; }
.txqt-crumbs a { color: #314834; text-decoration: underline; text-underline-offset: 3px; }
.txqt-crumbs [aria-current] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.txqt-home .txqt-editorial-hero h1 { max-width: 24ch; margin-top: 6px; font-size: clamp(2rem, 4.25vw, 3.65rem); line-height: 1.1; overflow-wrap: anywhere; }
.txqt-editorial-summary { max-width: 76ch; color: #455246; margin-top: 14px; }
.txqt-editorial-summary p + p { margin-top: 8px; }
.txqt-entry-meta { display: flex; flex-wrap: wrap; gap: 5px 17px; margin-top: 17px; color: #4f5c51; font-size: .86rem; }
.txqt-archive-body, .txqt-related { padding-block: 29px 45px; }
.txqt-topic-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 25px; }
.txqt-topic-nav a { border: 1px solid #d9dfd5; background: #fff; padding: 6px 12px; font-size: .83rem; font-weight: 750; border-radius: 999px; }
.txqt-topic-nav a:hover, .txqt-topic-nav a[aria-current="page"] { border-color: #253e2d; background: #253e2d; color: white; }
.txqt-archive-body h2, .txqt-related h2 { font-size: clamp(1.34rem, 2.7vw, 2.05rem); margin-bottom: 15px; }
.txqt-entry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.txqt-entry-card { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid #e0e3d9; background: #fff; border-radius: 11px; overflow: hidden; }
.txqt-entry-card:hover, .txqt-entry-card:focus-within { border-color: #ad902d; }
.txqt-entry-image { display: grid; place-items: center; aspect-ratio: 1.92; background: radial-gradient(ellipse at 75% 10%,#e8e3c9,#edf2e9); color: #637453; overflow: hidden; }
.txqt-entry-image > .txqt-post-thumb { align-self: center; border-radius: 0; }
.txqt-entry-image > img { width: 100%; height: 100%; object-fit: cover; }
.txqt-entry-image > .txqt-icon { width: 36px; height: 36px; }
.txqt-entry-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 14px; }
.txqt-entry-date { color: #596453; font-size: .76rem; }
.txqt-entry-card-body h3 { font-size: 1.14rem; margin-block: 6px; }
.txqt-entry-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.txqt-entry-card-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.txqt-entry-card-body p { color: #4b5950; font-size: .87rem; margin-bottom: 8px; }
.txqt-entry-card-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: #3f532c; font-size: .85rem; font-weight: 800; }
.txqt-entry-card-more .txqt-icon { width: 15px; height: 15px; }
.txqt-archive-body .pagination { margin-top: 22px; }
.txqt-archive-body .nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.txqt-archive-body .page-numbers { border: 1px solid #d9dfd5; border-radius: 6px; padding: 5px 9px; background: white; }
.txqt-archive-body .page-numbers.current { background: #253e2d; color: white; }
.txqt-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(235px, 285px); align-items: start; gap: 22px; padding-top: 25px; }
.txqt-reading-card { min-width: 0; padding: clamp(16px, 3.1vw, 36px); border: 1px solid #e3e7df; border-radius: 12px; background: #fff; }
.txqt-entry-content { font-size: 1rem; line-height: 1.72; overflow-wrap: anywhere; }
.txqt-home .txqt-entry-content p { margin-bottom: 1em; }
.txqt-home .txqt-entry-content h2, .txqt-home .txqt-entry-content h3, .txqt-home .txqt-entry-content h4 { margin: 1.2em 0 .45em; line-height: 1.25; }
.txqt-home .txqt-entry-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.txqt-home .txqt-entry-content h3 { font-size: 1.28rem; }
.txqt-home .txqt-entry-content a { color: #315b36; text-decoration: underline; text-underline-offset: 3px; }
.txqt-entry-content :is(figure, img, iframe) { max-width: 100%; }
.txqt-entry-content img { height: auto; border-radius: 6px; }
.txqt-entry-content figure { margin: 0 0 1em; }
.txqt-entry-content figcaption { margin-top: 4px; color: #556253; font-size: .82rem; }
.txqt-entry-content .wp-block-table { max-width: 100%; overflow: auto; }
.txqt-entry-content table { width: 100%; border-collapse: collapse; }
.txqt-entry-content :is(th,td) { padding: 8px; border: 1px solid #dee4db; }
.txqt-reading-aside { position: sticky; top: 91px; border: 1px solid #dadfcd; border-radius: 12px; background: #f2f3e8; padding: 18px; }
.txqt-home .txqt-reading-aside h2 { font-size: 1.35rem; margin-bottom: 8px; }
.txqt-reading-aside p { color: #4a584d; font-size: .89rem; }
.txqt-reading-aside .txqt-button { margin-top: 13px; }
.txqt-reading-phone { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 800; font-size: .91rem; }
.txqt-reading-phone .txqt-icon { width: 16px; height: 16px; }
.txqt-editorial .txqt-single-entry { padding-bottom: 12px; }
.txqt-empty { padding: 12px 0; color: #526056; }
@media (max-width: 820px) {
  .txqt-home .txqt-masthead-inner { flex-wrap: wrap; }
  .txqt-home .txqt-menu-toggle { display: none; }
  .txqt-home .txqt-main-nav { display: block; position: static; width: 100%; padding: 0 0 8px; box-shadow: none; }
  .txqt-menu-ready .txqt-home .txqt-menu-toggle { display: grid; }
  .txqt-menu-ready .txqt-home .txqt-main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; padding: 8px 16px; max-height: 70vh; overflow: auto; box-shadow: 0 7px 14px #1b211a24; }
  .txqt-menu-ready .txqt-home .txqt-main-nav.txqt-is-open { display: block; }
  .txqt-nav-list { display: grid; align-items: start; gap: 0; }
  .txqt-nav-list .sub-menu { display: block; position: static; grid-column: 1 / -1; margin-left: 13px; border: 0; box-shadow: none; }
  .txqt-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .txqt-reading-aside { position: static; }
  .txqt-entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .txqt-footer-directory { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .txqt-editorial-hero { padding-block: 20px 26px; }
  .txqt-crumbs { margin-bottom: 15px; }
  .txqt-crumbs [aria-current] { max-width: 100%; }
  .txqt-entry-grid, .txqt-footer-directory { grid-template-columns: minmax(0,1fr); }
  .txqt-footer-directory { padding-bottom: 85px; gap: 18px; }
}
