@charset "UTF-8";/* TMI Core — template styles (header, mobile menu, page frame, blog/article base).
   Measurements taken from the live Helix Ultimate site on 22 Oct 2026 so the switch is invisible.
   Site-specific designs (blog cards, CB forms, legal pages) live in custom.css, unchanged from Helix. */

:root {
  --tmi-red: #D92B2B;
  --tmi-red-dark: #B01F1F;
  --tmi-red-light: #F5E5E5;
  --tmi-navy: #0F1628;
  --tmi-text: #252525;
  --tmi-gray-500: #6B7280;
  --tmi-border: #E5E7EB;
  --tmi-header-h: 80px;
}

/* ── Base (Bootstrap is Joomla's own copy) ───────────────────────────── */
body {
  color: var(--tmi-text);
  background: #f5f0f0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--tmi-red); transition: color 400ms, background-color 400ms; }
a, a:hover, a:focus, a:active { text-decoration: none; }
a:hover, a:focus, a:active { color: var(--tmi-red-dark); }
img { display: block; max-width: 100%; height: auto; }

.tmi-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--tmi-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.tmi-skip:focus { top: 12px; color: #fff; }

/* ── Header ──────────────────────────────────────────────────────────── */
#sp-header {
  position: relative;
  z-index: 99;
  height: var(--tmi-header-h);
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, .1);
}
.tmi-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1320px;
  padding-left: 15px;
  padding-right: 15px;
}
.tmi-logo { flex: 0 0 auto; padding-right: 30px; }
.tmi-logo a { display: block; }
.tmi-logo img { height: 60px; width: auto; }

.tmi-nav { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; height: 100%; margin-left: 15px; }
.tmi-nav .mod-menu {
  display: flex; flex-wrap: nowrap; align-items: stretch;
  list-style: none; margin: 0 -15px; padding: 0; height: 100%;
}
.tmi-nav .mod-menu > li { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
.tmi-nav .mod-menu > li > a,
.tmi-nav .mod-menu > li > span,
.tmi-nav .mod-menu > li > .mod-menu__heading {
  display: block;
  padding: 0 15px;
  line-height: var(--tmi-header-h);
  font-size: 14px;
  font-weight: 400;
  color: var(--tmi-text);
  white-space: nowrap;
  cursor: pointer;
  background: none;
}
.tmi-nav .mod-menu > li:hover > a,
.tmi-nav .mod-menu > li:hover > span,
.tmi-nav .mod-menu > li.active > a,
.tmi-nav .mod-menu > li.current > a,
.tmi-nav .mod-menu > li.active > span { color: var(--tmi-red); }
.tmi-nav .mod-menu > li.parent > a::after,
.tmi-nav .mod-menu > li.parent > span::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

/* dropdown */
.tmi-nav .mod-menu > li > ul {
  position: absolute; top: 100%; left: 0; z-index: 100;
  width: 220px; max-height: calc(100vh - var(--tmi-header-h) - 20px); overflow-y: auto;
  margin: 0; padding: 20px; list-style: none;
  background: #fff; box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
  font-size: 14px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.tmi-nav .mod-menu > li:hover > ul,
.tmi-nav .mod-menu > li:focus-within > ul,
.tmi-nav .mod-menu > li.tmi-open > ul { opacity: 1; visibility: visible; transform: none; }
.tmi-nav .mod-menu > li > ul > li { display: block; }
.tmi-nav .mod-menu > li > ul a {
  display: block; padding: 8px 0; line-height: 14px; font-size: 14px; color: var(--tmi-text);
}
.tmi-nav .mod-menu > li > ul a:hover,
.tmi-nav .mod-menu > li > ul li.active > a { color: var(--tmi-red); }

.tmi-header__modules { display: flex; align-items: center; gap: 20px; margin-left: 20px; }

/* burger (shown at every width, as before) */
.tmi-burger {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 25px; height: 60px; margin-left: 20px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.tmi-burger .burger-icon { display: block; width: 25px; }
.tmi-burger .burger-icon > span {
  display: block; width: 25px; height: 2px; margin: 5px 0; background: #000; transition: background .2s;
}
.tmi-burger:hover .burger-icon > span,
.tmi-burger:focus-visible .burger-icon > span { background: var(--tmi-red); }

@media (max-width: 991.98px) {
  :root { --tmi-header-h: 60px; }
  .tmi-nav { display: none; }
  .tmi-burger { margin-left: auto; }
}
@media (max-width: 575.98px) {
  .tmi-logo img { height: 50px; }
}

/* ── Mobile / side menu (off-canvas, right) ─────────────────────────── */
.tmi-oc { position: fixed; inset: 0; z-index: 10000; visibility: hidden; pointer-events: none; }
.tmi-oc.is-open { visibility: visible; pointer-events: auto; }
.tmi-oc__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .3s ease;
}
.tmi-oc.is-open .tmi-oc__backdrop { opacity: 1; }
.tmi-oc__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px; max-width: 86vw; overflow-y: auto;
  background: #fff; box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
  transform: translateX(100%); transition: transform .3s ease;
}
.tmi-oc.is-open .tmi-oc__panel { transform: none; }
.tmi-oc__top { display: flex; justify-content: flex-end; padding: 18px 18px 6px; }
.tmi-oc__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #f5f5f7; color: var(--tmi-navy); font-size: 26px; line-height: 1; cursor: pointer;
}
.tmi-oc__close:hover { background: var(--tmi-red-light); color: var(--tmi-red); }
.tmi-oc .offcanvas-inner { padding: 4px 24px 32px; }
.tmi-oc .mod-menu { display: block; list-style: none; margin: 0; padding: 0; }
.tmi-oc .mod-menu li { display: block; position: relative; }
.tmi-oc .mod-menu > li { border-bottom: 1px solid #f1f1f3; }
.tmi-oc .mod-menu a,
.tmi-oc .mod-menu .mod-menu__heading,
.tmi-oc .mod-menu > li > span {
  display: block; padding: 12px 34px 12px 0; font-size: 16px; line-height: 1.3;
  color: var(--tmi-text); cursor: pointer;
}
.tmi-oc .mod-menu a:hover,
.tmi-oc .mod-menu li.active > a,
.tmi-oc .mod-menu li.current > a { color: var(--tmi-red); }
.tmi-oc .mod-menu li.parent > ul { display: none; list-style: none; margin: 0 0 10px 12px; padding: 0; }
.tmi-oc .mod-menu li.parent.tmi-open > ul { display: block; }
.tmi-oc .mod-menu li.parent > ul a { padding: 7px 0; font-size: 15px; }
.tmi-oc__toggle {
  position: absolute; top: 6px; right: 0; width: 34px; height: 34px;
  border: 0; background: none; cursor: pointer; color: var(--tmi-text);
}
.tmi-oc__toggle::before {
  content: ""; display: block; width: 8px; height: 8px; margin: 0 auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.tmi-oc li.tmi-open > .tmi-oc__toggle::before { transform: rotate(225deg); }
.tmi-oc .sp-module { margin-top: 20px; }
.tmi-oc .sp-module .sp-module-title { font-size: 1rem; font-weight: 700; }
body.tmi-oc-open { overflow: hidden; }

/* ── Page title band (per menu item, as in Helix) ───────────────────── */
.sp-page-title {
  padding: 30px 0;
  background-repeat: no-repeat; background-position: 50% 50%; background-size: cover;
}
.sp-page-title .sp-page-title-heading,
.sp-page-title .sp-page-title-sub { margin: 0; padding: 0; color: #fff; }
.sp-page-title .sp-page-title-heading { font-size: 24px; line-height: 1; }
.sp-page-title .sp-page-title-sub { display: block; font-size: 14px; margin-top: 10px; }

/* ── Page frame ─────────────────────────────────────────────────────── */
#sp-main-body { padding: 100px 0; }
#sp-main-body > .container { max-width: 1320px; }
#sp-footer { font-size: 14px; padding: 0; background: transparent; }
#sp-footer > .container { max-width: 1320px; }

/* side columns (country notes menu) */
#sp-left .sp-module, #sp-right .sp-module { margin-top: 50px; border: 1px solid #f3f3f3; padding: 30px; border-radius: 3px; background: #fff; }
#sp-left .sp-module:first-child, #sp-right .sp-module:first-child { margin-top: 0; }
#sp-left .sp-module .sp-module-title, #sp-right .sp-module .sp-module-title { margin: 0 0 30px; padding-bottom: 20px; font-size: 22px; font-weight: 700; border-bottom: 1px solid #f3f3f3; }
#sp-left .sp-module ul, #sp-right .sp-module ul { list-style: none; padding: 0; margin: 0; }
#sp-left .sp-module ul > li, #sp-right .sp-module ul > li { display: block; border-bottom: 1px solid #f3f3f3; }
#sp-left .sp-module ul > li > a, #sp-right .sp-module ul > li > a { display: block; line-height: 36px; padding: 2px 0; color: var(--tmi-text); }
#sp-left .sp-module ul > li > a:hover, #sp-left .sp-module ul > li.active > a { color: var(--tmi-red); }
#sp-left .sp-module ul > li:last-child, #sp-right .sp-module ul > li:last-child { border-bottom: none; }

/* ── Blog list (before the TMI blog script restyles it) ─────────────── */
.article-list .article { position: relative; margin-bottom: 30px; padding: 20px; border: 1px solid #f5f5f5; border-radius: 3px; }
.article-list .article .article-intro-image { margin: -20px -20px 20px -20px; border-radius: 3px 3px 0 0; border-bottom: 1px solid #f5f5f5; overflow: hidden; }
.article-list .article .article-intro-image img { border-radius: 3px 3px 0 0; }
.article-list .article .featured-article-badge { position: absolute; top: 5px; left: 5px; cursor: default; }
.article-list .article .article-header h1,
.article-list .article .article-header h2,
.article-list .article .article-header h4 { font-size: 1.375rem; margin: 0 0 1.25rem 0; }
.article-list .article .article-header h2 a { color: var(--tmi-text); }
.article-list .article .article-header h2 a:hover { color: var(--tmi-red); }
.article-list .article .readmore { font-size: .875rem; }
.article-list .article .readmore a { color: var(--tmi-text); font-weight: 500; }
.article-list .article .readmore a:hover { color: var(--tmi-red); }

/* ── Article ────────────────────────────────────────────────────────── */
.article-info { display: flex; flex-wrap: wrap; margin-bottom: 1rem; }
.article-info > span { font-size: .813rem; }
.article-info > span + span::before { display: inline-block; padding: 0 .5rem; content: "/"; }
.article-info > span a { color: var(--tmi-text); }
.article-details { position: relative; }
.article-details .article-header { position: relative; }
.article-details .article-header h1,
.article-details .article-header h2 { font-size: 2.25rem; }
.article-details .article-full-image { margin-bottom: 2rem; }
.article-details .article-full-image img { display: inline-block; border-radius: 4px; }
.article-details .article-can-edit { position: relative; margin-bottom: 10px; }
.article-details .article-can-edit a { display: inline-block; background: var(--tmi-navy); color: #fff; padding: 5px 12px; border-radius: 3px; font-size: 14px; }
.article-details figcaption.caption { font-size: 14px; color: var(--tmi-text); margin: 5px 0; opacity: .7; }
.page-header { padding-bottom: 15px; }

.tags { list-style: none; padding: 0; margin: -.3125rem; display: flex; flex-wrap: wrap; }
.tags > li { display: inline-block; margin: .3125rem; }
.tags > li a { display: block; font-size: .875rem; padding: .5rem 1rem; border-radius: 100px; background: rgba(217, 43, 43, .1); color: var(--tmi-red); }
.tags > li a:hover { background: var(--tmi-red); color: #fff; }

.pagination .page-link { color: var(--tmi-text); }
.pagination .page-item.active .page-link { background: var(--tmi-red); border-color: var(--tmi-red); color: #fff; }

/* ── Moved from Helix > Template Options > Custom CSS (22 Oct 2026) ── */
/* Page title band in TMI brand colours */
.sp-page-title {
  background: #0F1628 !important;
  border-bottom: 3px solid #D92B2B;
  padding: 34px 0;
}
.sp-page-title .sp-page-title-heading {
  font-family: 'Inter', 'Montserrat', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  border: 0 !important;
}
.sp-page-title .sp-page-title-heading a { color: #fff !important; text-decoration: none !important; }
/* Blog posts that carry their own hero banner: hide Joomla's title above it */
.article-details:has([itemprop="articleBody"] .hero) > .article-header { display: none; }

/* TMI blog articles: paste into Helix Ultimate > Template Options > Custom Code > Custom CSS, then Save.

   Every rule only applies on a single article that uses the new blog design (.tmi-post), so other pages are untouched. */



/* 1. Hide Joomla's own "published" date under the article: the post header already shows the date */

body.view-article:has(.tmi-post) .article-info { display: none; }



/* 2. Previous / Next article buttons in TMI style */

body.view-article:has(.tmi-post) .pagenavigation { max-width: 880px; margin: 40px auto 16px; padding-top: 24px; border-top: 1px solid #E5E7EB; }

body.view-article:has(.tmi-post) .pagenavigation .pagination { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin: 0; }

body.view-article:has(.tmi-post) .pagenavigation .btn {

  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0F1628;

  border: 1.5px solid #E5E7EB; border-radius: 999px; padding: 11px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06);

  font-family: 'Inter', 'Montserrat', system-ui, sans-serif; font-size: 0; font-weight: 600; line-height: 1.2; transition: .2s ease;

}

body.view-article:has(.tmi-post) .pagenavigation .btn:hover,

body.view-article:has(.tmi-post) .pagenavigation .btn:focus-visible { background: #D92B2B; border-color: #D92B2B; color: #fff; transform: translateY(-2px); }

body.view-article:has(.tmi-post) .pagenavigation .btn.next { margin-left: auto; }

body.view-article:has(.tmi-post) .pagenavigation .btn [class^="icon-chevron"] { display: none; }

/* Joomla's labels are "Prev" / "Next": shown as "← Previous article" / "Next article →" */

body.view-article:has(.tmi-post) .pagenavigation .btn.previous::before { content: "\2190  Previous article"; font-size: 15px; }

body.view-article:has(.tmi-post) .pagenavigation .btn.next::after { content: "Next article  \2192"; font-size: 15px; }



/* 3. Older converted posts whose closing box has no heading: add one */

.tmi-post .cta-box:not(:has(h2)) > p:first-of-type::before {

  content: "Find Turkish medical suppliers"; display: block; color: #fff; font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 10px;

}

/* 4. Blog list (/blog): Company of the Week cards show the title, logo and activity only (the full card is in the article) */

.com-content-category-blog.tm-blog .tm-card[data-tm]:has(.tmi-cotw) .article-header { display: block !important; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw { max-width: none; margin: 0; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; flex: 1; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .hero,

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-label,

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-facts,

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-text,

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-note,

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .cta-box { display: none; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-card { display: flex; flex-direction: column; flex: 1; gap: 0; margin: 12px 0 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-main { display: flex; flex-direction: column; flex: 1; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-logo { width: 100%; height: 84px; aspect-ratio: auto; padding: 10px; margin: 0 0 12px; background: #fff; border-radius: 16px; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-logo img { max-height: 100%; width: auto; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-chips { margin: 0 0 12px; gap: 6px; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw .co-chips span { background: #f1f3f7; color: #6B7280; font-size: 12px; padding: 4px 10px; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw a.btn { margin-top: auto; align-self: flex-start; background: none; color: #D92B2B; padding: 0; border: 0; font-size: 14px; font-weight: 700; position: relative; z-index: 4; }

.com-content-category-blog.tm-blog .tm-card .tmi-cotw a.btn:hover { background: none; text-decoration: underline; }

