/*
 * TravelGuys editorial identity for existing Newspaper content.
 * The stored Composer pages, queries, translations and review markup stay intact.
 * editorial-home.css supplies the shared fonts, palette and masthead/footer.
 * Every rule here requires the explicitly enabled tge-sitewide body scope.
 */
body.tge-sitewide #td-outer-wrap {
  background-color: var(--tge-paper) !important;
  color: var(--tge-ink);
  font-family: var(--tge-sans);
}
body.tge-sitewide :is(.td-main-content-wrap,.td-main-content,.td-category-header,.td-category-description) {
  background-color: var(--tge-paper) !important;
}
/* Cloud body templates add their own white article surface inside the native wrap. */
body.tge-sitewide #td-outer-wrap article.tdb_templates {
  background-color: var(--tge-paper) !important;
}
body.tge-sitewide .td-main-content-wrap {
  margin-inline: auto;
  padding-top: clamp(28px,4vw,54px);
  padding-bottom: clamp(48px,6vw,90px);
}
body.tge-sitewide .td-main-content-wrap :is(a,button,input,select,textarea):focus-visible {
  outline: 2px solid var(--tge-gold);
  outline-offset: 4px;
}
body.tge-sitewide .td-main-content-wrap ::selection {
  background: #d1dacc;
  color: var(--tge-forest);
}

/* Native wrappers can hide the classic header/footer at their mobile breakpoint.
 * Reset only wrappers that actually contain our successfully rendered frame.
 * Leave parent content and a native fallback header/footer visible otherwise.
 */
body.tge-sitewide :is(.tdc-header-wrap,.td-header-template-wrap,.td-header-wrap,.td-header-desktop-wrap):has([data-tge-frame="header"]),
body.tge-sitewide :is(.tdc-footer-wrap,.td-footer-template-wrap,.td-footer-wrapper,.td-footer-wrap,.td-footer-container):has([data-tge-frame="footer"]) {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--tge-paper) !important;
  box-shadow: none !important;
  transform: none !important;
}
body.tge-sitewide:has([data-tge-frame="header"]) :is(.td-header-mobile-wrap,.td-mobile-container,.td-mobile-nav-wrap,.td-menu-background,.td-search-background,.td-search-wrap-mob):not(:has([data-tge-frame="header"])) {
  display: none !important;
}
body.tge-sitewide:has([data-tge-frame="header"]) .td-header-menu-wrap-full.td-affix:not(:has([data-tge-frame="header"])) {
  display: none !important;
}
body.tge-sitewide:has([data-tge-frame="header"]) :is(.tdc-header-wrap,.td-header-template-wrap,.td-header-wrap):not(:has([data-tge-frame="header"])) {
  display: none !important;
}
body.tge-sitewide:has([data-tge-frame="footer"]) :is(.tdc-footer-wrap,.td-footer-template-wrap,.td-footer-wrapper,.td-footer-wrap,.td-footer-container):not(:has([data-tge-frame="footer"])) {
  display: none !important;
}
body.tge-sitewide:has([data-tge-frame="footer"]) .td-sub-footer-container:not(:has([data-tge-frame="footer"])) {
  display: none !important;
}
body.tge-sitewide .tge-sitewide-header-shell,
body.tge-sitewide .tge-sitewide-footer-shell {
  clear: both;
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  background: var(--tge-paper);
}
body.tge-sitewide .tge-sitewide-footer-shell .tge-footer {
  margin-top: 0;
}

/* Four title families cover Cloud pages, regular Pages, dedicated mobile
 * index titles and information/team components. White media text is separate.
 */
body.tge-sitewide #td-outer-wrap :is(.tdb-title-text,h1.entry-title.td-page-title,.td-page-title):not(:where(.tdm_white_text *,.td-big-grid *,.td-big-grid-flex *,.td-is-sticky *)) {
  margin-bottom: .45em;
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-size: clamp(36px,4.8vw,66px) !important;
  font-weight: 450 !important;
  line-height: 1.13 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
  text-wrap: pretty;
}
body.tge-sitewide #td-outer-wrap .tdb-title-line {
  display: none;
}
body.tge-sitewide #td-outer-wrap :is(.tdm-title,.td-block-title,.td_block_title):not(:where(.tdm_white_text *,.td-big-grid *,.td-big-grid-flex *,#review-box *)) {
  color: var(--tge-forest);
  font-family: var(--tge-serif) !important;
  font-size: clamp(27px,2.7vw,38px) !important;
  font-weight: 450 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}
body.tge-sitewide.page #td-outer-wrap .td-pb-span12 > .wpb_wrapper > .td_block_title h1.td-block-title:not(:where(.td-is-sticky *,.td-pb-span3 *,.td-pb-span4 *)),
body.tge-sitewide.single-post #td-outer-wrap .td-post-title h1.entry-title {
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-size: clamp(36px,4.8vw,66px) !important;
  font-weight: 450 !important;
  line-height: 1.13 !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
}
body.tge-sitewide #td-outer-wrap .td-is-sticky :is(.tdb-title-text,.td-block-title) {
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-size: 28px !important;
  font-weight: 450 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-block-title,.td_block_title) :is(span,a) {
  padding-inline: 0;
  background-color: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-block-title,.td_block_title):before,
body.tge-sitewide #td-outer-wrap :is(.td-block-title,.td_block_title):after {
  border-color: var(--tge-line);
  background-color: transparent;
}
body.tge-sitewide #td-outer-wrap :is(.tdb_single_subtitle,.td-post-sub-title,.td-category-description,.td-category-description p) {
  color: var(--tge-muted) !important;
  font-family: var(--tge-reading) !important;
  font-size: 21px !important;
  line-height: 1.6 !important;
}
body.tge-sitewide #td-outer-wrap :is(.tdb-post-meta,.td-post-author-name,.td-post-date,.td-module-meta-info,.tdb_single_date,.tdb_single_author,.td-crumb-container,.tdb_breadcrumbs) {
  color: var(--tge-muted);
  font-family: var(--tge-sans) !important;
  font-size: 11px;
  line-height: 1.8;
}
body.tge-sitewide #td-outer-wrap :is(.tdb-post-meta,.tdb_breadcrumbs,.td-crumb-container) a {
  color: inherit;
  font-family: inherit !important;
}
body.tge-sitewide #td-outer-wrap .tdb_single_author :is(.tdb-author-name,.tdb-author-by) {
  color: var(--tge-muted) !important;
  font-family: var(--tge-sans) !important;
  font-weight: 500 !important;
}

/* Keep Newspaper's social counters and links in the shared editorial palette. */
body.tge-sitewide #td-outer-wrap .td-social-list .td_social_type .td-social-box {
  background-color: var(--tge-forest) !important;
  background-image: none !important;
  color: var(--tge-paper) !important;
}
body.tge-sitewide #td-outer-wrap .td-social-list .td-social-box :is(.td_social_info,.td_social_button a) {
  color: var(--tge-paper) !important;
  font-family: var(--tge-sans) !important;
}
body.tge-sitewide #td-outer-wrap .td-social-list .td_social_type .td-social-box:is(:hover,:focus-within) {
  background-color: #245247 !important;
}

/* Preserve each Flex Block's chosen story query, image placement, columns,
 * paging and offset. Replace its display typography and chrome only.
 */
body.tge-sitewide #td-outer-wrap :is(.td-module-title,.td-module-title a):not(:where(.td-big-grid *,.td-big-grid-flex *,.tdm_white_text *)) {
  color: var(--tge-ink) !important;
  font-family: var(--tge-serif) !important;
  font-weight: 450 !important;
  line-height: 1.22 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
  text-wrap: pretty;
}
body.tge-sitewide #td-outer-wrap .td_module_flex .td-module-title {
  font-size: clamp(22px,2.2vw,31px) !important;
}
body.tge-sitewide #td-outer-wrap .td-module-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body.tge-sitewide #td-outer-wrap .td-excerpt {
  color: var(--tge-muted) !important;
  font-family: var(--tge-reading) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
body.tge-sitewide #td-outer-wrap .td_module_flex :is(.td-module-container,.td-module-meta-info) {
  border-color: var(--tge-line) !important;
}
body.tge-sitewide #td-outer-wrap .td_module_flex .td-module-meta-info:not(:where(.td-big-grid *,.td-big-grid-flex *)) {
  background-color: var(--tge-paper) !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-category,.tdb_single_categories a) {
  border-color: var(--tge-line) !important;
  border-radius: 0;
  background-color: transparent !important;
  color: var(--tge-forest) !important;
  font-family: var(--tge-sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
body.tge-sitewide #td-outer-wrap .tdb_single_categories .tdb-cat-bg {
  border-color: var(--tge-line) !important;
  background-color: transparent !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-big-grid,.td-big-grid-flex) :is(.td-module-title,.td-module-title a,.td-post-category,.td-module-meta-info,.td-post-author-name,.td-post-date),
body.tge-sitewide #td-outer-wrap .tdm_white_text :is(.tdm-title,.tdm-descr,.tdm-descr p,.tdm-descr a) {
  color: #fffdf7 !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-big-grid,.td-big-grid-flex) .td-module-title {
  font-family: var(--tge-serif) !important;
  font-weight: 450 !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em !important;
}
body.tge-sitewide #td-outer-wrap .tdm_white_text .tdm-title {
  font-family: var(--tge-serif) !important;
  font-weight: 450 !important;
  line-height: 1.15 !important;
  letter-spacing: -.03em !important;
  text-transform: none !important;
}
body.tge-sitewide #td-outer-wrap .tdm_block_hero .tdm-title {
  font-size: clamp(36px,4.5vw,64px) !important;
}
body.tge-sitewide #td-outer-wrap .tdm_block_team_member .tdm-title {
  font-size: 30px !important;
}
body.tge-sitewide #td-outer-wrap :is(.tdm_block_inline_text,.tdm-descr,.tdm-descr p) {
  font-family: var(--tge-reading) !important;
  font-size: 19px;
  line-height: 1.75 !important;
}
body.tge-sitewide #td-outer-wrap .tdm_block_inline_text a:not(:where(.tdm_white_text *)) {
  color: var(--tge-forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.tge-sitewide #td-outer-wrap .absolute_inner .tdb-title-text {
  color: #fffdf7 !important;
}
body.tge-sitewide #td-outer-wrap .absolute_inner :is(.tdb_single_categories a,.tdb_single_date,.tdb_single_author) {
  color: #fffdf7 !important;
}

/* Reflow the observed Cloud article hero, without modifying its image, title,
 * category/date blocks or previous/next links. The exact semantic combination
 * is required: an unrelated custom-page absolute overlay is left as authored.
 */
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  width: 100% !important;
  height: auto !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) .tdm_block_button[data-scroll-to-class="td-article-content"] {
  display: none !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .absolute_inner {
  order: 2;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 20px var(--tge-space) !important;
  transform: none !important;
  -webkit-transform: none !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .absolute_inner:has(.tdb-single-title) {
  order: 0;
  max-width: 1050px;
  padding: 16px var(--tge-space) 30px !important;
  text-align: center !important;
}
body.tge-sitewide.single-post #td-outer-wrap .absolute_inner:has(.tdb-single-title) .vc_column_inner {
  margin-bottom: 0 !important;
}
body.tge-sitewide.single-post #td-outer-wrap .absolute_inner:has(.tdb-single-title) :is(.tdb-single-title,.tdb_single_categories,.tdb_single_date,.tdb_single_author) {
  text-align: center !important;
  justify-content: center !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .absolute_inner .tdb-title-text {
  color: var(--tge-forest) !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .absolute_inner .tdb_single_categories a {
  color: var(--tge-forest) !important;
}
body.tge-sitewide.single-post #td-outer-wrap .absolute_inner:has(.tdb-single-title) :is(.tdb_single_date,.tdb_single_author) {
  color: var(--tge-muted) !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .tdb_single_bg_featured_image {
  order: 1;
  width: calc(100% - 2 * var(--tge-space)) !important;
  max-width: 1320px;
  margin: 0 auto !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .tdb_single_bg_featured_image .tdb-featured-image-bg {
  height: auto !important;
  min-height: 0 !important;
  max-height: 680px;
  padding-bottom: 0 !important;
  aspect-ratio: 16/9;
  background-position: center center !important;
}
body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .tdb_single_bg_featured_image:after {
  display: none;
}
body.tge-sitewide.single-post #td-outer-wrap .tdb_single_next_prev {
  color: var(--tge-ink);
  font-family: var(--tge-sans);
}
body.tge-sitewide.single-post #td-outer-wrap .tdb_single_next_prev :is(a,span) {
  color: inherit !important;
  font-family: inherit !important;
}

/* Reading rhythm applies to actual prose, not card modules or review criteria.
 * A 760px reading measure is inside the existing column; sidebars stay present.
 */
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) {
  color: var(--tge-ink);
  font-family: var(--tge-reading) !important;
  overflow-wrap: break-word;
}
body.tge-sitewide.single-post #td-outer-wrap .tdb_single_content > .tdb-block-inner {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(p,li):not(:where(#review-box *,[class*="td_module_"] *,.td_block_wrap .td-excerpt *)) {
  color: var(--tge-ink);
  font-family: var(--tge-reading) !important;
  font-size: 20px !important;
  line-height: 1.8 !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) p:not(:where(#review-box *)) {
  margin-bottom: 1.4em;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(h2,h3,h4):not(:where(#review-box *,[class*="td_module_"] *)) {
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-weight: 450 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) h2:not(:where(#review-box *,[class*="td_module_"] *)) {
  margin-top: 1.7em;
  font-size: clamp(29px,3vw,36px) !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(h3,h4):not(:where(#review-box *,[class*="td_module_"] *)) {
  margin-top: 1.4em;
  font-size: clamp(24px,2.5vw,29px) !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(p,li) a:not(:where(#review-box *,[class*="td_module_"] *,.tdm_white_text *)) {
  color: var(--tge-forest) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) blockquote:not(:where(#review-box *)) {
  margin: 40px 0;
  padding: 6px 0 6px 28px;
  border-left: 2px solid var(--tge-gold);
  color: var(--tge-forest);
  font-family: var(--tge-serif) !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) blockquote p:not(:where(#review-box *)) {
  font-family: var(--tge-serif) !important;
  font-size: clamp(24px,2.7vw,29px) !important;
  line-height: 1.4 !important;
}
body.tge-sitewide #td-outer-wrap :is(figcaption,.wp-caption-text,.tdb-caption-text) {
  color: var(--tge-muted) !important;
  font-family: var(--tge-sans) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(table,td,th) {
  border-color: var(--tge-line);
  font-family: var(--tge-sans);
  font-size: 15px;
  line-height: 1.6;
}
body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(iframe,video) {
  max-width: 100%;
}
body.tge-sitewide #td-outer-wrap :is(.tdb_single_tags,.td-tags) :is(a,span),
body.tge-sitewide #td-outer-wrap :is(.tdb_single_author_box,.td-author-box) {
  border-color: var(--tge-line) !important;
  background-color: transparent !important;
  color: var(--tge-muted) !important;
  font-family: var(--tge-sans) !important;
}

/* The guarded article badge is the existing verified numerical component.
 * Its visual prominence echoes the first interactive article preview; the
 * full original review and its criteria remain later in the article body.
 */
body.tge-sitewide #td-outer-wrap .tge-article-verdict {
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--tge-line);
  background-color: #eceee5;
  color: var(--tge-forest);
}
body.tge-sitewide #td-outer-wrap .tge-article-verdict .tge-rating {
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.tge-sitewide #td-outer-wrap .tge-article-verdict > .tge-eyebrow {
  margin: 0 0 14px;
  color: var(--tge-forest);
  font: 650 10px/1.6 var(--tge-sans) !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.tge-sitewide #td-outer-wrap .tge-article-verdict .tge-rating-value {
  font-size: 48px;
  font-weight: 450;
}
body.tge-sitewide #td-outer-wrap .tge-article-verdict .tge-rating-scale {
  font-size: 14px;
}
body.tge-sitewide #td-outer-wrap .tge-article-verdict .tge-rating-label {
  font-size: 11px;
}

/* Taqyeem remains authoritative: no star sprite, span size/fill, score number,
 * vote control, schema or criterion HTML is changed by this pale verdict skin.
 */
body.tge-sitewide #td-outer-wrap #review-box.review-box {
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--tge-line) !important;
  background-color: #eceee5 !important;
  color: var(--tge-ink) !important;
  font-family: var(--tge-sans) !important;
  box-shadow: none;
}
body.tge-sitewide #td-outer-wrap #review-box .review-box-header {
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--tge-line);
  background-color: transparent !important;
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-size: clamp(25px,2.7vw,33px) !important;
  font-weight: 450 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.tge-sitewide #td-outer-wrap #review-box :is(.review-item,.review-summary,.user-rate-wrap) {
  border-color: var(--tge-line) !important;
  background-color: transparent !important;
  color: var(--tge-ink) !important;
}
body.tge-sitewide #td-outer-wrap #review-box .review-item h5 {
  color: var(--tge-ink) !important;
  font-family: var(--tge-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
body.tge-sitewide #td-outer-wrap #review-box .review-summary {
  min-height: 128px;
}
body.tge-sitewide #td-outer-wrap #review-box .review-final-score {
  border-color: var(--tge-line) !important;
  background-color: #e1e6d9 !important;
}
body.tge-sitewide #td-outer-wrap #review-box .review-final-score :is(h3,h4) {
  color: var(--tge-forest) !important;
  font-family: var(--tge-serif) !important;
  font-weight: 450 !important;
  letter-spacing: -.025em !important;
}
body.tge-sitewide #td-outer-wrap #review-box :is(.review-short-summary,.review-short-summary p) {
  color: var(--tge-ink) !important;
  font-family: var(--tge-reading) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}
body.tge-sitewide #td-outer-wrap #review-box .review-short-summary a {
  color: var(--tge-forest) !important;
}
body.tge-sitewide #td-outer-wrap #review-box .user-rate-wrap {
  font-family: var(--tge-sans) !important;
}

/* Existing directory lists, page numbers and forms keep their destinations and
 * submit behavior. Shape, palette and typography follow the shared frame.
 */
body.tge-sitewide #td-outer-wrap :is(.page-nav a,.page-nav span,.page-numbers,.td-next-prev-wrap a) {
  border-color: var(--tge-line) !important;
  border-radius: 0;
  background-color: transparent;
  color: var(--tge-forest);
  font-family: var(--tge-sans);
  font-size: 12px;
}
body.tge-sitewide #td-outer-wrap :is(.page-nav .current,.page-numbers.current,.page-nav a:hover,.td-next-prev-wrap a:hover) {
  border-color: var(--tge-forest) !important;
  background-color: var(--tge-forest) !important;
  color: var(--tge-paper) !important;
}
body.tge-sitewide #td-outer-wrap :is(.tdm-btn,.wp-block-button__link,.td-search-form button,.comment-form input[type="submit"],.nf-form-content input[type="button"],.nf-form-content input[type="submit"],.nf-form-content button) {
  border: 1px solid var(--tge-forest) !important;
  border-radius: 0 !important;
  background-color: var(--tge-forest) !important;
  color: var(--tge-paper) !important;
  font-family: var(--tge-sans) !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: none;
  box-shadow: none;
}
body.tge-sitewide #td-outer-wrap :is(.td-search-form input,.comment-form textarea,.comment-form input:not([type="submit"]):not([type="checkbox"]),.nf-form-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),.nf-form-content select,.nf-form-content textarea) {
  border: 1px solid var(--tge-line) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--tge-ink) !important;
  font-family: var(--tge-sans) !important;
  font-size: 14px;
  box-shadow: none;
}
body.tge-sitewide #td-outer-wrap :is(.nf-form-content label,.comment-form label,.td-search-form label,.comment-notes,.nf-form-fields-required) {
  color: var(--tge-muted);
  font-family: var(--tge-sans) !important;
  font-size: 12px;
}
body.tge-sitewide #td-outer-wrap .dpsp-network-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px !important;
  border-width: 1px;
  border-style: solid;
  border-color: var(--tge-line) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--tge-forest) !important;
  font: 500 11px/1.5 var(--tge-sans) !important;
  text-decoration: none;
  box-shadow: none !important;
}
body.tge-sitewide #td-outer-wrap .dpsp-network-btn :is(.dpsp-network-icon,.dpsp-network-icon-inner) {
  display: inline-flex;
  align-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  background-color: transparent;
  color: inherit;
}
body.tge-sitewide #td-outer-wrap .dpsp-network-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
body.tge-sitewide #td-outer-wrap .dpsp-network-btn:hover {
  border-color: var(--tge-forest) !important;
  background-color: var(--tge-forest) !important;
  color: var(--tge-paper) !important;
}

@media (max-width:767px) {
  body.tge-sitewide .td-main-content-wrap {
    padding-top: 28px;
    padding-bottom: 55px;
  }
  body.tge-sitewide #td-outer-wrap .td_module_flex .td-module-title {
    font-size: clamp(21px,5.7vw,28px) !important;
  }
  body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(p,li):not(:where(#review-box *,[class*="td_module_"] *)) {
    font-size: 19px !important;
    line-height: 1.75 !important;
  }
  body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .absolute_inner:has(.tdb-single-title) {
    padding-top: 4px !important;
    padding-bottom: 26px !important;
    text-align: left !important;
  }
  body.tge-sitewide.single-post #td-outer-wrap .absolute_inner:has(.tdb-single-title) :is(.tdb-single-title,.tdb_single_categories,.tdb_single_date,.tdb_single_author) {
    text-align: left !important;
    justify-content: flex-start !important;
  }
  body.tge-sitewide.single-post #td-outer-wrap .wpb_wrapper:has(> .tdb_single_bg_featured_image):has(> .absolute_inner .tdb-single-title) > .tdb_single_bg_featured_image .tdb-featured-image-bg {
    aspect-ratio: 4/3;
  }
  body.tge-sitewide #td-outer-wrap #review-box.review-box {
    padding: 20px;
  }
  body.tge-sitewide #td-outer-wrap #review-box :is(.review-short-summary,.review-short-summary p) {
    font-size: 17px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.tge-sitewide .td-main-content-wrap {
    scroll-behavior: auto;
  }
}
@media print {
  body.tge-sitewide,
  body.tge-sitewide #td-outer-wrap,
  body.tge-sitewide .td-main-content-wrap {
    background: #fff !important;
    color: #000;
  }
  body.tge-sitewide #td-outer-wrap :is(.tdb-title-text,.td-page-title) {
    font-size: 30pt !important;
  }
  body.tge-sitewide #td-outer-wrap :is(.td-post-content,.tdb_single_content) :is(p,li):not(:where(#review-box *)) {
    font-size: 12pt !important;
  }
  body.tge-sitewide #td-outer-wrap #review-box.review-box {
    break-inside: avoid;
    background: #fff !important;
  }
}
