/* assets/css/country-sidebar.css */
/* Country sidebar icons - no JavaScript, webfonts or third-party CDN. */
.sidebar-primary .tg-country-sidebar-widget { margin:0 0 22px; padding:12px; }
.sidebar-primary .tg-country-sidebar-widget .widget-title { margin:0 0 12px; padding:0 0 11px; border-bottom:2px solid #147ec3; font-weight:700; line-height:1.4; font-size:18px; }
.sidebar-primary .tg-country-sidebar-nav { list-style:none; margin:0; padding:0; }
.sidebar-primary .tg-country-sidebar-nav li { list-style:none; margin:0; padding:0; border-bottom:1px solid #e8eff5; }
.sidebar-primary .tg-country-sidebar-nav li:last-child { border-bottom:0; }
.sidebar-primary .tg-country-sidebar-nav a { position:relative; display:flex; align-items:center; min-height:54px; padding:10px 9px 10px 54px; border-radius:7px; color:#263745; font-size:14px; font-weight:500; line-height:1.5; text-decoration:none; overflow-wrap:anywhere; }
/* ::after is the icon's pale square; ::before is the colored SVG outline. */
.sidebar-primary .tg-country-sidebar-nav a::after { content:''; display:block; position:absolute; left:6px; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:10px; background:#eaf5ff; }
.sidebar-primary .tg-country-sidebar-nav a::before { content:''; display:block; position:absolute; z-index:1; left:14px; top:50%; transform:translateY(-50%); width:20px; height:20px; background-color:#1673af; -webkit-mask:var(--tgcs-svg) center / contain no-repeat; mask:var(--tgcs-svg) center / contain no-repeat; }
.sidebar-primary .tg-country-sidebar-nav a:hover,
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a,
.sidebar-primary .tg-country-sidebar-nav .current-menu-ancestor > a { color:#075c9b; background:#f3f9ff; }
.sidebar-primary .tg-country-sidebar-nav a:hover::after,
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a::after { background:#d9efff; }
.sidebar-primary .tg-country-sidebar-nav a:focus-visible { outline:2px solid #147ec3; outline-offset:-2px; }
.sidebar-primary .tg-country-sidebar-nav .sub-menu { list-style:none; margin:0 0 6px 14px; padding:0; }
.sidebar-primary .tg-country-sidebar-nav .sub-menu a { padding-left:47px; min-height:46px; font-size:13px; }
.sidebar-primary .tg-country-sidebar-nav .sub-menu a::after { left:6px; width:31px; height:31px; border-radius:8px; }
.sidebar-primary .tg-country-sidebar-nav .sub-menu a::before { left:12px; width:19px; height:19px; }
@media (max-width:767px) { .sidebar-primary .tg-country-sidebar-nav a { min-height:54px; padding-top:12px; padding-bottom:12px; } }

.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--overview > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M12%203a15%2015%200%200%201%200%2018M12%203a15%2015%200%200%200%200%2018%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--condition > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224.5%22%20y%3D%224%22%20width%3D%2215%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m8%2010%201.5%201.5L12%209M14%2011h3M8%2016h9%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--cost > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%209h18M16%2015h2%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--document > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h7l5%205v13H7a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2ZM14%203v6h5M9%2013h6M9%2017h7%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--process > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%225.5%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218.5%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%205.5h6a4%204%200%200%201%200%208h-4a4%204%200%200%200%200%205h6%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--jobs > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V5a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2M3%2013a20%2020%200%200%200%2018%200M12%2012v3%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--salary > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M15%208.5a4.2%204.2%200%200%200-3-1c-2%200-3%201-3%202.5s1.2%202%203%202%203%201%203%202.5-1.2%202.5-3%202.5a5%205%200%200%201-3.5-1.2M12%205.5v13%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--school > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%209%2010-5%2010%205-10%205L2%209ZM6%2011v6c3.8%203.2%208.2%203.2%2012%200v-6M22%209v7%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav .tgcs-icon--guide > a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206c-2.4-2.5-5.3-2.8-9-2v14c4-.8%207.3-.3%209%202%201.7-2.3%205-2.8%209-2V4c-3.7-.8-6.6-.5-9%202ZM12%206v14%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar-primary .tg-country-sidebar-nav a { --tgcs-svg:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3C%2Fsvg%3E"); }


/* TG V6: all country menus (automatically covers every country menu location).
   Active and focus states are as visible as hover; motion is pointer-only. */
.sidebar-primary .tg-country-sidebar-nav a {
  border:1px solid transparent;
  transition:background-color .19s ease,color .19s ease,border-color .19s ease,box-shadow .19s ease,transform .19s ease;
}
.sidebar-primary .tg-country-sidebar-nav a::after,
.sidebar-primary .tg-country-sidebar-nav a::before {
  transition:background-color .19s ease,transform .19s ease;
}
.sidebar-primary .tg-country-sidebar-nav a:hover,
.sidebar-primary .tg-country-sidebar-nav a:focus-visible {
  color:#075b9f;background:#eef7ff;border-color:#c9e4fa;border-left-color:#1685c7;
  box-shadow:0 5px 14px rgba(15,93,166,.12);
}
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a,
.sidebar-primary .tg-country-sidebar-nav .current-menu-ancestor > a {
  color:#065a9b;background:#eaf5ff;border-color:#c7e2f6;border-left-color:#087fc2;font-weight:700;
  box-shadow:0 4px 12px rgba(15,93,166,.08);
}
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a::after,
.sidebar-primary .tg-country-sidebar-nav a:hover::after {background:#d8ecfb;}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .sidebar-primary .tg-country-sidebar-nav a:hover {transform:translate3d(3px,0,0);}
  .sidebar-primary .tg-country-sidebar-nav a:hover::after {transform:translateY(-50%) scale(1.08);}
}

/* TG V7 — distinctly visible hover treatment for EVERY country nav location,
   including both top-level entries and nested WP menu items. */
.sidebar-primary .tg-country-sidebar-nav li {
  border-bottom-color:#e7eff6;
  transition:transform .27s cubic-bezier(.2,.75,.25,1),box-shadow .27s ease;
}
.sidebar-primary .tg-country-sidebar-nav li > a {
  border:1px solid transparent;border-left:3px solid transparent;border-radius:11px;
  box-shadow:inset 0 0 0 transparent;
  transition:background-color .26s ease,background-image .26s ease,
    color .26s ease,transform .27s cubic-bezier(.2,.75,.25,1),
    box-shadow .27s ease,border-color .27s ease;
}
.sidebar-primary .tg-country-sidebar-nav li > a::after {
  box-shadow:inset 0 0 0 1px #d5eafb;
  transition:background-color .26s ease,box-shadow .26s ease,
    transform .28s cubic-bezier(.2,.75,.25,1);
}
.sidebar-primary .tg-country-sidebar-nav li > a::before {
  transition:background-color .26s ease,transform .28s cubic-bezier(.2,.75,.25,1);
}
.sidebar-primary .tg-country-sidebar-nav li:is(:hover,:focus-within) > a {
  color:#075a97;font-weight:650;border-color:#c3e3fa;
  background:linear-gradient(105deg,#e5f3ff 0%,#f8fcff 95%);border-left-color:#1685c7;
  box-shadow:0 5px 13px rgba(14,87,151,.11);
}
.sidebar-primary .tg-country-sidebar-nav li:is(:hover,:focus-within) > a::after {
  background:#087fca;box-shadow:0 4px 10px rgba(8,117,183,.27);
  transform:translateY(-50%) rotate(-5deg) scale(1.08);
}
.sidebar-primary .tg-country-sidebar-nav li:is(:hover,:focus-within) > a::before {
  background-color:#fff;
  transform:translateY(-50%) scale(1.11);
}
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a,
.sidebar-primary .tg-country-sidebar-nav .current-menu-ancestor > a,
.sidebar-primary .tg-country-sidebar-nav .current_page_item > a {
  background:linear-gradient(105deg,#e5f3ff,#f8fcff);
  box-shadow:0 4px 12px rgba(14,87,151,.09);
  border-color:#badff7;border-left-color:#087fc2;font-weight:700;color:#07588d;
}
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a::after,
.sidebar-primary .tg-country-sidebar-nav .current_page_item > a::after {
  background:#087fca;box-shadow:0 3px 8px rgba(8,117,183,.18);
}
.sidebar-primary .tg-country-sidebar-nav .current-menu-item > a::before,
.sidebar-primary .tg-country-sidebar-nav .current_page_item > a::before {background-color:#fff;}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .sidebar-primary .tg-country-sidebar-nav li:hover > a {
    transform:translate3d(3px,0,0);
  }
  /* Upgrade old 3px-only hover and ensure focus does not shift the whole menu. */
  .sidebar-primary .tg-country-sidebar-nav li:hover > a::after {
    transform:translateY(-50%) rotate(-5deg) scale(1.08);
  }
}
@media (prefers-reduced-motion:reduce) {
  .sidebar-primary .tg-country-sidebar-nav li,
  .sidebar-primary .tg-country-sidebar-nav li > a,
  .sidebar-primary .tg-country-sidebar-nav li > a::after,
  .sidebar-primary .tg-country-sidebar-nav li > a::before {
    transition:none!important;transform:none;
  }
  .sidebar-primary .tg-country-sidebar-nav li > a::after,
  .sidebar-primary .tg-country-sidebar-nav li > a::before {transform:translateY(-50%)!important;}
}

/* assets/css/post-sidebar-v7.css */
/* TG V7 - post/sidebar interactions, loaded on single editorial posts only.
   Menus remain regular links; form is not sticky until the END of the last sidebar widget. */

/* Shared WordPress nav, page/category menus and classic text sidebar menus. */
.sidebar-primary :is(.widget_nav_menu, .widget_pages, .widget_categories, .widget_archive,
  .widget_meta, .widget_block) :is(.menu, .wp-block-page-list, .wp-block-categories-list,
  .wp-block-navigation__container) > li,
.sidebar-primary .widget_nav_menu ul.menu li {
  position:relative;
  border-radius:10px;
  transition:background-color .26s ease,box-shadow .26s ease,transform .26s cubic-bezier(.2,.8,.2,1);
}
.sidebar-primary .widget_nav_menu ul.menu > li {padding:5px 6px;margin:3px 0;}
.sidebar-primary .widget_nav_menu ul.menu li > a,
.sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive,.widget_meta) ul li > a,
.sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list,.wp-block-navigation__container) li > a {
  display:block;position:relative;border-radius:9px;border:1px solid transparent;border-left:3px solid transparent;
  padding:11px 27px 11px 12px;line-height:1.5;color:#29465c;
  transition:color .24s ease,background-color .24s ease,border-color .24s ease;
}
/* Arrow is visible even before hover. No icon font or JS. */
.sidebar-primary .widget_nav_menu ul.menu li > a::after,
.sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive) ul li > a::after,
.sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list) li > a::after {
  content:'';position:absolute;right:12px;top:50%;width:7px;height:7px;
  border-top:2px solid #94adbf;border-right:2px solid #94adbf;
  transform:translateY(-50%) rotate(45deg);opacity:.65;
  transition:transform .26s ease,border-color .26s ease,opacity .26s ease;
}
.sidebar-primary .widget_nav_menu ul.menu li:is(:hover,:focus-within),
.sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive,.widget_meta) ul li:is(:hover,:focus-within),
.sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list) li:is(:hover,:focus-within) {
  background:linear-gradient(110deg,#eaf5ff,#f7fbff 82%);
  box-shadow:0 6px 16px rgba(14,82,148,.11);
}
.sidebar-primary .widget_nav_menu ul.menu li:is(:hover,:focus-within) > a,
.sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive,.widget_meta) ul li:is(:hover,:focus-within) > a,
.sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list) li:is(:hover,:focus-within) > a {
  color:#075d9c;background:transparent;border-color:transparent;border-left:3px solid #1486cc;font-weight:600;
}
.sidebar-primary .widget_nav_menu ul.menu li:is(:hover,:focus-within) > a::after,
.sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive) ul li:is(:hover,:focus-within) > a::after,
.sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list) li:is(:hover,:focus-within) > a::after {
  border-color:#087bc5;opacity:1;transform:translate(3px,-50%) rotate(45deg);
}
.sidebar-primary .widget_nav_menu ul.menu li:is(.current-menu-item,.current-menu-ancestor,.current_page_item,.current_page_ancestor),
.sidebar-primary .widget_pages li.current_page_item,
.sidebar-primary .widget_categories li.current-cat {
  background:linear-gradient(110deg,#e5f3ff,#f6fbff);
  box-shadow:none;
}
.sidebar-primary .widget_nav_menu ul.menu li:is(.current-menu-item,.current-menu-ancestor,.current_page_item) > a,
.sidebar-primary .widget_pages li.current_page_item > a,
.sidebar-primary .widget_categories li.current-cat > a {color:#0665a6;font-weight:700;}
.sidebar-primary .widget_nav_menu ul.menu li:is(.current-menu-item,.current-menu-ancestor,.current_page_item) > a {border-left:3px solid #087fc2;}
/* Keep classic nested flyout menus functional and keyboard accessible. */
.sidebar-primary .widget_nav_menu .menu-item-has-children:focus-within > .sub-menu {
  opacity:1;visibility:visible;transform:translate(0,0);
}
.sidebar-primary .widget_nav_menu .sub-menu {
  border:1px solid #d6e7f4;border-radius:12px;box-shadow:0 15px 30px rgba(15,63,115,.15);
  padding:6px;min-width:205px;
}
.sidebar-primary .widget_nav_menu .sub-menu > li {padding:2px 4px;}
.sidebar-primary :is(.widget_nav_menu,.widget_pages,.widget_categories,.widget_archive,.widget_block) a:focus-visible {
  outline:2px solid #1688cb;outline-offset:2px;
}
/* Other shared sidebar lists, including the latest-posts widget: gentle link affordance only. */
.sidebar-primary :is(.widget_recent_entries,.widget_recent-posts,.widget_listpost_widget) li a,
.sidebar-primary .widget_block .wp-block-latest-posts li a,
.sidebar-primary .widget .list-post-item a {
  transition:color .23s ease,transform .23s ease,text-decoration-color .23s ease;
  text-decoration-color:transparent;
}
.sidebar-primary :is(.widget_recent_entries,.widget_recent-posts,.widget_listpost_widget) li a:is(:hover,:focus-visible),
.sidebar-primary .widget_block .wp-block-latest-posts li a:is(:hover,:focus-visible),
.sidebar-primary .widget .list-post-item a:is(:hover,:focus-visible) {color:#087cc2;text-decoration:underline;text-decoration-color:#85c9ee;}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .sidebar-primary .widget_nav_menu ul.menu li:hover,
  .sidebar-primary :is(.widget_pages,.widget_categories,.widget_archive,.widget_meta) ul li:hover,
  .sidebar-primary .widget_block :is(.wp-block-page-list,.wp-block-categories-list) li:hover {
    transform:translate3d(2px,0,0);
  }
}

/* Article geometry: create a genuine rail to end the sticky form at article end.
   Do NOT stick the form with position:sticky (that made it overlap latest posts). */
@media (min-width:992px) {
  body.single-post.tg-post-v7-ready #primary.content-sidebar-wrap {display:flex;align-items:stretch;justify-content:space-between;}
  body.single-post.tg-post-v7-ready #primary.content-sidebar-wrap > .site-main {float:none;flex:0 0 74.5%;width:74.5%;min-width:0;}
  body.single-post.tg-post-v7-ready #primary.content-sidebar-wrap > .sidebar-primary {
    float:none;flex:0 0 22.68%;width:22.68%;min-width:0;align-self:stretch;
    position:relative;overflow:visible;
  }
  body.single-post.tg-post-v7-ready.sidebar-content #primary.content-sidebar-wrap > .sidebar-primary {order:1;}
  body.single-post.tg-post-v7-ready.sidebar-content #primary.content-sidebar-wrap > .site-main {order:0;}
  body.single-post.tg-post-v7-ready.content-sidebar #primary.content-sidebar-wrap > .site-main {order:0;}
  body.single-post.tg-post-v7-ready.content-sidebar #primary.content-sidebar-wrap > .sidebar-primary {order:1;}
  body.single-post.tg-post-v7-ready:is(.sidebar-content-sidebar,.sidebar-sidebar-content,.content-sidebar-sidebar) #primary.content-sidebar-wrap > .site-main {flex-basis:67.5496689%;width:67.5496689%;}
  body.single-post.tg-post-v7-ready:is(.sidebar-content-sidebar,.sidebar-sidebar-content,.content-sidebar-sidebar) #primary.content-sidebar-wrap > .sidebar-primary {flex-basis:31.1258278%;width:31.1258278%;}
  body.single-post.tg-post-v7-ready:is(.sidebar-content-sidebar,.sidebar-sidebar-content) #primary.content-sidebar-wrap > .sidebar-primary {order:1;}
  body.single-post.tg-post-v7-ready:is(.sidebar-content-sidebar,.sidebar-sidebar-content) #primary.content-sidebar-wrap > .site-main {order:0;}
  body.single-post.tg-post-v7-ready.content-sidebar-sidebar #primary.content-sidebar-wrap > .site-main {order:0;}
  body.single-post.tg-post-v7-ready.content-sidebar-sidebar #primary.content-sidebar-wrap > .sidebar-primary {order:1;}
  body.single-post.tg-post-v7-ready .sidebar-primary > .tg-post-form-source.tg-post-form-fixed {
    position:fixed!important;z-index:100;box-sizing:border-box;
    top:var(--tg-form-top,90px);left:var(--tg-form-left,auto);width:var(--tg-form-width,260px);
    margin:0!important;background:#fff;
    border:1px solid #c8e3f7;border-radius:12px;
    box-shadow:0 7px 20px rgba(13,70,132,.1);
    animation:tg-form-v7-appear .15s ease-out both;
  }
  body.single-post.tg-post-v7-ready .sidebar-primary > .tg-post-form-source.tg-post-form-ended {
    position:absolute!important;z-index:10;top:auto!important;left:0!important;right:0;
    bottom:0;width:100%;margin:0!important;
    box-sizing:border-box;background:#fff;
    border:1px solid #c8e3f7;border-radius:12px;
    box-shadow:0 8px 25px rgba(13,70,132,.12);
  }
  body.single-post .sidebar-primary > .tg-post-form-placeholder {display:none;}
  body.single-post .sidebar-primary > .tg-post-form-placeholder.tg-post-form-placeholder-active {display:block;}
  body.single-post .sidebar-primary > .tg-post-sidebar-end-marker {height:1px;visibility:hidden;pointer-events:none;}
}
@keyframes tg-form-v7-appear {from{opacity:.95;transform:translateY(3px)}to{opacity:1;transform:none}}
@media (max-width:991px) {
  body.single-post .sidebar-primary > .tg-post-form-source {position:static!important;}
  body.single-post .sidebar-primary > .tg-post-form-placeholder,
  body.single-post .sidebar-primary > .tg-post-sidebar-end-marker {display:none!important;}
}
@media (prefers-reduced-motion:reduce) {
  .sidebar-primary :is(.widget_nav_menu,.widget_pages,.widget_categories,.widget_archive,.widget_block) li,
  .sidebar-primary :is(.widget_nav_menu,.widget_pages,.widget_categories,.widget_archive,.widget_block) a,
  .sidebar-primary .widget_nav_menu ul.menu li > a::after {transition:none!important;transform:none!important;}
  body.single-post .sidebar-primary > .tg-post-form-source.tg-post-form-fixed {animation:none!important;}
}
