/*
 * Cassiopeia Karyer - template styles on top of UIkit 3.
 * (C) 2026 ADA Agency, GPL-2.0-or-later
 *
 * Sections: tokens, base, toolbar, header, navbar, offcanvas, layout, module chrome,
 * side navigation, breadcrumbs, content, products, news, home + converted widgets,
 * UIkit 2 legacy markup, footer, responsive.
 */

/* ---------- Tokens ---------- */
:root {
  --tm-blue: #2a51a3;
  --tm-blue-dark: #1f3e80;
  --tm-red: #ef3742;
  --tm-text: #5c5c5c;
  --tm-heading: #464646;
  --tm-link: #2a51a3;
  --tm-link-light: #36b3d9;
  --tm-muted-bg: #f8f9fb;
  --tm-border: #dddddd;
  --tm-white: #ffffff;
  --tm-shadow: 0 5px 15px rgba(0, 0, 0, .08);
  --tm-shadow-hover: 0 14px 25px rgba(0, 0, 0, .14);
  --tm-font: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --tm-header-height: 140px;
}

/* ---------- Base ---------- */
html {
  font-family: var(--tm-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--tm-text);
  -webkit-font-smoothing: antialiased;
  background: var(--tm-white);
}

body {
  overflow-x: hidden;
  background: var(--tm-white);
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-small, .uk-heading-medium, .uk-card-title, .uk-article-title {
  font-family: var(--tm-font);
  font-weight: 400;
  color: var(--tm-heading);
}

h1, .uk-h1 { font-size: 2.4rem; line-height: 1.2; }
h2, .uk-h2 { font-size: 2rem; line-height: 1.25; }
h3, .uk-h3 { font-size: 1.5rem; line-height: 1.3; }
h4, .uk-h4 { font-size: 1.2rem; line-height: 1.4; }
h5, .uk-h5 { font-size: 1rem; }
h6, .uk-h6 { font-size: .95rem; font-weight: 400; text-transform: none; }

a, .uk-link { color: var(--tm-link); }
a:hover, .uk-link:hover { color: var(--tm-red); text-decoration: none; }

.uk-button {
  font-family: var(--tm-font);
  font-size: 12px;
  letter-spacing: 1px;
}

.uk-button-primary { background: var(--tm-blue); }
.uk-button-primary:hover, .uk-button-primary:focus { background: var(--tm-blue-dark); }
.uk-button-danger { background: var(--tm-red); }

:focus-visible { outline: 2px solid var(--tm-blue); outline-offset: 2px; }

.tm-skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1100;
  padding: 10px 16px;
  background: var(--tm-blue);
  color: var(--tm-white);
}
.tm-skip-link:focus { top: 8px; color: var(--tm-white); }

.tm-content:focus { outline: none; }

/* ---------- Toolbar ---------- */
.tm-toolbar {
  background: var(--tm-white);
  border-bottom: 2px solid var(--tm-blue);
  min-height: 42px;
  font-size: 13px;
}
.tm-toolbar .uk-container { min-height: 42px; }
.tm-toolbar .mod-custom p, .tm-toolbar p { margin: 0; }

.tm-languages-list { margin: 0; }
.tm-languages-list > * { padding-left: 14px; }
.tm-toolbar .tm-languages-list > * > a {
  color: var(--tm-blue);
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 0;
  min-height: 0;
}
.tm-toolbar .tm-languages-list > * > a:hover { color: var(--tm-red); }
.tm-toolbar .tm-languages-list > .uk-active > a { color: var(--tm-blue); font-weight: 700; }
.tm-languages-list { margin-left: -14px; }

.tm-search { position: relative; }
.tm-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-blue);
  cursor: pointer;
}
.tm-search-toggle:hover { color: var(--tm-red); }
.tm-search-drop {
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 15px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow-hover);
  border-top: 2px solid var(--tm-blue);
}
.tm-search-drop .uk-search-input { font-family: var(--tm-font); }
.tm-search-drop .awesomplete { display: block; }
.tm-search-drop .awesomplete > ul {
  z-index: 2;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
}
.tm-search-drop .awesomplete > ul > li { padding: 6px 10px; cursor: pointer; }
.tm-search-drop .awesomplete > ul > li[aria-selected="true"], .tm-search-drop .awesomplete > ul > li:hover { background: var(--tm-muted-bg); }

/* ---------- Header ---------- */
.tm-header {
  position: relative;
  z-index: 980;
  background: var(--tm-white);
}
.tm-headerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--tm-header-height);
  transition: min-height .2s ease;
}
.tm-brand { flex: none; min-width: 0; }
.tm-logo, .tm-logo-small { display: block; line-height: 0; }
.tm-logo img { width: 367px; max-width: 100%; height: auto; }
.tm-logo-small img { width: 220px; max-width: 100%; height: auto; object-fit: contain; object-position: left center; }
.tm-logo img { object-fit: contain; object-position: left center; }
.tm-logo .mod-custom, .tm-logo-small .mod-custom { margin: 0; }
.tm-logo img.pull-left, .tm-logo-small img.pull-left { float: none; }

.tm-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  flex: 1;
}
.tm-badge {
  display: block;
  width: auto;
  height: 54px;
  max-width: 100%;
  margin-bottom: 8px;
  object-fit: contain;
}

.tm-offcanvas-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-blue);
  cursor: pointer;
}

/* Sticky state: compact header with the red accent line of the old site. */
.tm-header.tm-header-sticky {
  border-bottom: 4px solid var(--tm-red);
  box-shadow: var(--tm-shadow);
}
.tm-header.tm-header-sticky .tm-headerbar { min-height: 80px; }
.tm-header.tm-header-sticky .tm-badge { display: none; }
.tm-header.tm-header-sticky .tm-logo img { width: 260px; }

/* ---------- Navbar ---------- */
.tm-navbar { width: 100%; }
.tm-navbar.uk-navbar-container { background: transparent; }
.tm-navbar .uk-navbar-right, .tm-mainnav { gap: 0; }
.tm-navbar .uk-navbar-right { margin-right: 0; }
.tm-mainnav > li > a {
  min-height: 48px;
  padding: 0 10px;
  font-family: var(--tm-font);
  font-size: 15px;
  color: var(--tm-heading);
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .1s, border-color .1s;
}
.tm-mainnav > li > a:hover,
.tm-mainnav > li > a[aria-expanded="true"] {
  color: var(--tm-blue);
  border-bottom-color: var(--tm-blue);
}
.tm-mainnav > li.uk-active > a { color: var(--tm-blue); }
.tm-mainnav > li:last-child > a { padding-right: 0; }

.tm-navbar .uk-navbar-dropdown {
  --uk-position-offset: 0px;
  width: 240px;
  padding: 20px 25px;
  background: rgba(254, 254, 254, .98);
  box-shadow: var(--tm-shadow-hover);
  border-top: 2px solid var(--tm-blue);
}
.tm-navbar .uk-navbar-dropdown-nav > li > a {
  padding: 5px 0;
  color: var(--tm-heading);
  font-size: 14px;
}
.tm-navbar .uk-navbar-dropdown-nav > li > a:hover,
.tm-navbar .uk-navbar-dropdown-nav > li.uk-active > a { color: var(--tm-blue); }

/* ---------- Offcanvas ---------- */
.tm-offcanvas-bar { background: var(--tm-blue); padding-top: 60px; }
.tm-offcanvas-nav > li { position: relative; }
.tm-offcanvas-nav > li > a {
  padding: 10px 44px 10px 0;
  font-size: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.tm-offcanvas-nav > li.uk-active > a,
.tm-offcanvas-nav > li > a:hover { color: var(--tm-white); }
.tm-offcanvas-nav .uk-nav-sub { padding: 8px 0 8px 15px; }
.tm-offcanvas-nav .uk-nav-sub a { color: rgba(255, 255, 255, .75); padding: 4px 0; font-size: 15px; }
.tm-offcanvas-nav .uk-nav-sub .uk-active > a, .tm-offcanvas-nav .uk-nav-sub a:hover { color: var(--tm-white); }
.tm-nav-toggle {
  position: absolute;
  top: 2px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-white);
  cursor: pointer;
}
.tm-nav-toggle svg { transition: transform .2s ease; }
.tm-offcanvas-nav > li.uk-open > .tm-nav-toggle svg { transform: rotate(180deg); }

/* ---------- Page layout ---------- */
.tm-page {
  padding: 60px 0 80px;
  background-image: var(--tm-background-image, none);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 1920px auto;
}
.tm-section + .tm-section, .tm-section + .tm-main, .tm-main + .tm-section { margin-top: 40px; }
.tm-main > * > :last-child { margin-bottom: 0; }
.tm-main-top { margin-bottom: 20px; }
.tm-main-bottom { margin-top: 30px; }

/* Home has no sidebar, the article sits directly below the slideshow. */
.tm-home .tm-page { padding-top: 40px; }

/* ---------- Module chrome ---------- */
.tm-module + .tm-module { margin-top: 30px; }
.tm-module-title { font-size: 1.25rem; margin-bottom: 20px; }

.tm-panel {
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
  border-bottom: 2px solid var(--tm-red);
}
.tm-panel-title {
  margin: 0;
  padding: 14px 25px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--tm-white);
  background: var(--tm-red);
}
.tm-panel-body { padding: 25px 30px; }
.tm-panel-body > :last-child { margin-bottom: 0; }

.tm-panel.pnl-downloads { border-bottom-color: var(--tm-blue); }
.tm-panel.pnl-downloads .tm-panel-title { background: var(--tm-blue); }
.tm-panel.pnl-contact, .tm-panel.pnl-plain { border-bottom: 0; }
.tm-panel.pnl-contact .tm-panel-title, .tm-panel.pnl-plain .tm-panel-title { color: var(--tm-heading); background: var(--tm-muted-bg); }

.tm-sidebar .tm-module + .tm-module { margin-top: 25px; }
.tm-sidebar img { max-width: 100%; height: auto; }

/* ---------- Side navigation (mod_menu in sidebars) ---------- */
.tm-sidenav > li > a {
  padding: 6px 0;
  font-size: 14px;
  color: var(--tm-text);
}
.tm-sidenav > li > a:hover,
.tm-sidenav li.uk-active > a { color: var(--tm-red); }
.tm-sidenav .uk-nav-sub { padding: 2px 0 4px 18px; }
.tm-sidenav .uk-nav-sub > li > a {
  position: relative;
  padding: 3px 0 3px 18px;
  font-size: 14px;
  color: var(--tm-blue);
}
.tm-sidenav .uk-nav-sub > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border: 1px solid var(--tm-red);
  border-radius: 50%;
}
.tm-sidenav .uk-nav-sub > li.uk-active > a { color: var(--tm-red); font-weight: 700; }
.tm-sidenav .uk-nav-sub > li > a:hover { color: var(--tm-red); }

/* Product categories: blue links (module class suffix "pnl-products", or any panel with nested levels). */
.pnl-products .tm-sidenav > li > a,
.tm-panel:has(.uk-nav-sub) .tm-sidenav > li > a { color: var(--tm-blue); padding: 3px 0; }
.pnl-products .tm-sidenav > li.uk-active > a,
.tm-panel:has(.uk-nav-sub) .tm-sidenav > li.uk-active > a { color: var(--tm-red); }

/* Download lists (converted Widgetkit list-monday) inside panels. */
.karyer-wk-list { margin: 0; }
.karyer-wk-list > li { margin-top: 0; }
.uk-list-divider.karyer-wk-list > li:nth-child(n+2) { border-top: 0; padding-top: 0; margin-top: 0; }
.karyer-wk-list > li > a {
  gap: 15px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--tm-blue);
}
.karyer-wk-list > li > a:hover { color: var(--tm-heading); }
.karyer-wk-list > li > a img { flex: none; opacity: .7; }
.tm-panel .karyer-wk-list { margin: -12px 0; }

/* ---------- Breadcrumbs ---------- */
.tm-breadcrumbs {
  padding: 32px 30px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
}
.tm-breadcrumbs .uk-breadcrumb > * > * {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
}
.tm-breadcrumbs .uk-breadcrumb > * > a:hover { color: var(--tm-red); }
.tm-breadcrumbs .uk-breadcrumb > :last-child > * { color: var(--tm-heading); }
.tm-breadcrumbs .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {
  content: "//";
  margin: 0 12px;
  font-size: 11px;
  color: #bbb;
}

/* ---------- Content ---------- */
.tm-content { font-size: 14px; line-height: 1.6; }
.tm-content img { max-width: 100%; height: auto; }
.tm-article .page-header .uk-article-title { font-size: 2rem; color: var(--tm-blue); }
.tm-content table:not([class]) { border-collapse: collapse; max-width: 100%; }
.tm-content table:not([class]) td, .tm-content table:not([class]) th { padding: 4px 8px; vertical-align: top; }
.tm-product-body table td, .tm-product-body table th, .tm-content table[border] td, .tm-content table[border] th { border: 1px solid #555; padding: 6px 8px; }
.tm-content .uk-overflow-auto, .tm-content .table-responsive { overflow-x: auto; }

/* White boxed content (old "container-panel" and the news / article boxes). */
.container-panel,
.news-item {
  padding: 25px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
  border-bottom: 2px solid var(--tm-blue);
}
.news-item h5 { color: var(--tm-blue); }

/* Category blog */
.tm-blog-card {
  height: 100%;
  padding: 25px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
  border-bottom: 2px solid var(--tm-blue);
  box-sizing: border-box;
}
.tm-blog-card .item-image { margin: -25px -25px 20px; }
.tm-blog-card .item-image img { width: 100%; }
.tm-blog-card .page-header h2 { font-size: 20px; color: var(--tm-blue); }
.items-leading .tm-blog-card { border-bottom-color: var(--tm-red); margin-bottom: 20px; }

.tm-readmore { margin: 15px 0 0; text-align: right; }
.tm-readmore a { color: var(--tm-link-light); font-size: 14px; }
.tm-readmore a:hover { color: var(--tm-red); }

/* Pagination */
.tm-pagination { margin-top: 30px; padding: 12px 0; background: var(--tm-white); border-bottom: 2px solid var(--tm-blue); }
.tm-pagination .uk-pagination { margin: 0; }
.tm-pagination .uk-pagination > * > * { color: var(--tm-text); }
.tm-pagination .uk-pagination > .uk-active > * { color: var(--tm-white); background: var(--tm-blue); }
.tm-pagination-limit { text-align: right; padding: 0 15px 10px; }

/* Plugin gallery {gallery}folder{/gallery} */
.karyer-gallery { margin-top: 20px; margin-bottom: 20px; list-style: none; padding-left: 0; }
.karyer-gallery > li > a {
  display: block;
  padding: 6px;
  background: var(--tm-white);
  border: 1px solid #efefef;
  transition: border-color .15s, box-shadow .15s;
}
.karyer-gallery > li > a:hover { border-color: #d6d6d6; box-shadow: var(--tm-shadow); }
.karyer-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }

/* ---------- Products: category grid ---------- */
.tm-products-grid { list-style: none; padding: 0; }
.tm-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
  padding: 25px;
  box-sizing: border-box;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
  border-bottom: 2px solid var(--tm-red);
  color: var(--tm-text);
  transition: box-shadow .2s ease;
}
.tm-product-card:hover { box-shadow: var(--tm-shadow-hover); color: var(--tm-text); }
.tm-product-card-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  color: var(--tm-blue);
}
.tm-product-card:hover .tm-product-card-title { color: var(--tm-heading); }
.tm-product-card-subtitle { margin: 12px 0 0; font-size: 14px; }
.tm-product-card-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-top: 20px;
  background: url("../images/logo_KR.png") no-repeat left bottom / 36px 36px;
}
.tm-product-card-media img { max-height: 200px; width: auto; object-fit: contain; }

/* ---------- Products: product page ---------- */
.tm-product {
  padding: 25px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
  border-bottom: 2px solid var(--tm-red);
}
.tm-product-title { margin: 0; font-size: 32px; line-height: 1.2; color: var(--tm-blue); }
.tm-product-subtitle { margin: 4px 0 0; font-size: 15px; }
.tm-product-links { margin-top: 10px; margin-bottom: 0; }
.tm-product .tm-product-links > * > a {
  gap: 6px;
  font-size: 14px;
  text-transform: none;
  color: var(--tm-link-light);
}
.tm-product .tm-product-links > * > a:hover { color: var(--tm-red); }

.tm-gallery { margin: 25px 0; }
.tm-gallery .uk-slideshow-items > li > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.tm-gallery .uk-slideshow-items img { width: 100%; height: 100%; object-fit: contain; }
.tm-product-gallery .uk-slideshow-items { background: url("../images/logo_KR.png") no-repeat left bottom / 42px 42px; }
.tm-slidenav { color: var(--tm-red); }
.tm-thumbnav { gap: 0; margin-left: -12px; }
.tm-thumbnav > * { padding-left: 12px; }
.tm-thumbnav > * > a {
  display: block;
  padding: 6px;
  background: var(--tm-white);
  border: 1px solid #efefef;
}
.tm-thumbnav > * > a::after { display: none; }
.tm-thumbnav > .uk-active > a { border-color: var(--tm-heading); }
.tm-thumbnav img { display: block; width: 80px; height: 56px; object-fit: contain; }

.tm-product-body h3, .tm-product-body h2 { font-size: 20px; margin-top: 30px; color: var(--tm-heading); }
.tm-product-body table { margin: 15px 0; }
.tm-product-section-title {
  margin: 40px 0 15px;
  padding-bottom: 6px;
  font-size: 20px;
  color: var(--tm-heading);
  border-bottom: 1px solid #e5e5e5;
}
.tm-related-list > li { margin-top: 2px; }
.tm-related-list a { color: var(--tm-link-light); font-size: 14px; }
.tm-related-list a:hover { color: var(--tm-red); }

/* ---------- News (mod_articles) ---------- */
.tm-news { list-style: none; padding: 0; }
.tm-news-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
  background: #fcfcfc;
  box-sizing: border-box;
}
.tm-news-head { padding: 12px 12px 6px; background: #f5f5f5; }
.tm-news-title { margin: 0 0 18px; font-size: 16px; line-height: 1.35; }
.tm-news-title a { color: var(--tm-link-light); }
.tm-news-title a:hover { color: var(--tm-red); }
.tm-news-meta { margin: 0; font-size: 13px; color: #888; }
.tm-news-body { flex: 1; display: flex; flex-direction: column; padding: 12px; font-size: 15px; }
.tm-news-intro { flex: 1; }
.tm-news-intro > :last-child { margin-bottom: 0; }
.tm-news-image { display: block; margin: -12px -12px 12px; }
.tm-news-image img { width: 100%; height: auto; }
.tm-news-more { margin: 15px 0 0; text-align: right; }
.tm-news-more a { color: var(--tm-link-light); }
.tm-news-more a:hover { color: var(--tm-red); }
.tm-news-blog .tm-content > .tm-article { padding: 10px; background: var(--tm-white); }

/* ---------- Home + converted Widgetkit content ---------- */

/* Home intro article */
.home-container {
  padding: 40px 40px 50px;
  border-bottom: 4px solid var(--tm-blue);
  background: var(--tm-white);
  text-align: center;
}
.home-container h2 { font-size: 2rem; margin-bottom: 30px; }
.home-container h6 { font-size: 15px; line-height: 1.5; color: var(--tm-text); margin-bottom: 25px; }
.home-inner-container { padding: 0 20px 10px; }
.home-container .uk-button, .tm-home .tm-article .uk-button {
  background: var(--tm-white);
  color: var(--tm-heading);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
  border: 0;
  line-height: 36px;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
}
.home-container .uk-button:hover { color: var(--tm-blue); box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }

/* Slideshow (top-a) */
.karyer-wk-slideshow { border-top: 4px solid var(--tm-red); }
.karyer-wk-slide-overlay.uk-overlay-primary { background: rgba(42, 81, 163, .9); }
.karyer-wk-slide-overlay { max-width: 350px; padding: 25px; }
.karyer-wk-slide-overlay h2 { color: var(--tm-white); font-size: 2rem; line-height: 1.2; }
.karyer-wk-slide-overlay .uk-button-default {
  margin-top: 30px;
  color: var(--tm-heading);
  background: #eeeeee;
  border: 0;
  line-height: 40px;
  font-size: 11px;
  letter-spacing: 2px;
}
.karyer-wk-slide-overlay .uk-button-default:hover { background: var(--tm-white); color: var(--tm-blue); }
.karyer-wk-slideshow .uk-dotnav > * > * { border-color: rgba(100, 100, 100, .6); background: rgba(100, 100, 100, .6); }
.karyer-wk-slideshow .uk-dotnav > .uk-active > * { background: var(--tm-red); border-color: var(--tm-red); }
.karyer-wk-slideshow .uk-slidenav { color: var(--tm-white); }

@media (min-width: 960px) {
  /* Old site: blue box at the bottom right of the slide. */
  .karyer-wk-slideshow .karyer-wk-slide-overlay.uk-position-center-left {
    top: auto;
    left: auto;
    right: 50px;
    bottom: 50px;
    transform: none;
    width: 350px;
    box-sizing: border-box;
    padding-bottom: 0;
  }
  .karyer-wk-slideshow .karyer-wk-slide-overlay .uk-button-default { margin-left: -25px; }
}

/* Card grids (bottom-a, catalogues, softwares, ...) */
.karyer-wk .uk-card-default { box-shadow: var(--tm-shadow); }
.karyer-wk .uk-card-default:hover { box-shadow: var(--tm-shadow-hover); }
.karyer-wk .uk-card-title { font-size: 17px; line-height: 1.4; margin-bottom: 15px; }
.karyer-wk .uk-card-body { font-size: 14px; padding: 30px; }
.karyer-wk .uk-card-media-top img { width: 100%; height: auto; display: block; }
.karyer-wk-arrow { display: inline-block; margin-top: 15px; color: #888; }
.karyer-wk-arrow:hover { color: var(--tm-red); }

/* Certificates slider (bottom-b) */
.home-certificate-container {
  padding: 20px 40px 30px;
  background: var(--tm-white);
  box-shadow: var(--tm-shadow);
}
.karyer-wk-slideset .uk-h4 { font-size: 17px; margin-bottom: 10px; }
.karyer-wk-slideset img { max-height: 160px; width: auto; }
.karyer-wk-slideset .uk-slidenav { color: var(--tm-red); }
.karyer-wk-slideset .uk-dotnav > .uk-active > * { background: var(--tm-heading); border-color: var(--tm-heading); }

/* Accordion (certificates page) */
.list-certificates .uk-accordion-title, .list-policies .uk-accordion-title { color: var(--tm-blue); font-size: 18px; }
.list-certificates .uk-accordion > li { margin-top: 0; }
.list-certificates .uk-accordion-title {
  padding: 22px 30px 6px;
  border-bottom: 1px solid #dddddd;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}
.list-certificates .uk-accordion-title::before { display: none; }
/* logo left, certificate thumbnails in a row to the right (old Widgetkit look) */
.list-certificates .uk-accordion-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 0;
  padding: 30px 30px 40px;
}
.list-certificates .uk-accordion-content > img { flex: 0 0 auto; width: 200px; height: auto; }
.list-certificates .uk-accordion-content > div { flex: 1 1 auto; text-align: center; }
.list-certificates .uk-accordion-content ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-certificates .uk-accordion-content ul > li { margin: 0; padding: 0; }
.list-certificates .uk-accordion-content ul > li img {
  display: block;
  width: 100px;
  height: auto;
  max-width: none;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  transition: transform .2s;
}
.list-certificates .uk-accordion-content ul > li a:hover img { transform: translateY(-2px); }
@media (max-width: 639px) {
  .list-certificates .uk-accordion-title { padding: 16px 0 6px; letter-spacing: 1.5px; font-size: 15px; }
  .list-certificates .uk-accordion-content { flex-direction: column; padding: 20px 0 30px; gap: 20px; }
  .list-certificates .uk-accordion-content > img { width: 140px; }
  .list-certificates .uk-accordion-content ul > li img { width: 80px; }
}

/* Tabs / switcher */
.karyer-wk .uk-tab > .uk-active > a { border-color: var(--tm-red); color: var(--tm-heading); }

/* Maps */
.karyer-wk-map iframe { display: block; width: 100%; max-width: 100%; }

/* Contact address tables */
.map-contact { padding: 0 0 20px; }
.map-contact table td { text-align: left; vertical-align: top; padding: 0 0 10px 25px; }
.map-contact table td a { color: var(--tm-red); }
.map-contact table td a:hover { color: var(--tm-heading); }

/* ---------- UIkit 2 legacy markup in articles ---------- */
.uk-panel-box {
  padding: 30px;
  background: var(--tm-white);
  color: var(--tm-text);
  box-shadow: var(--tm-shadow);
}
.uk-panel-box + .uk-panel-box { margin-top: 30px; }
.uk-panel-title { margin-top: 0; margin-bottom: 15px; font-size: 17px; line-height: 1.4; font-weight: 400; color: var(--tm-heading); }
.uk-panel-box.uk-panel-header > .uk-panel-title,
.uk-panel-header > .uk-panel-title {
  margin: -30px -30px 30px;
  padding: 16px 30px;
  background: var(--tm-muted-bg);
}
.uk-panel-box-primary { background: var(--tm-blue); color: var(--tm-white); }
.uk-panel-box-secondary { background: var(--tm-muted-bg); }
.uk-panel-teaser { margin: -30px -30px 30px; }
.uk-article-meta { font-size: 13px; color: #999; }
.pull-left { float: left; }
.pull-right { float: right; }
.uk-text-center-small { }

@media (min-width: 768px) {
  .uk-grid > .uk-width-medium-1-1 { width: 100%; }
  .uk-grid > .uk-width-medium-1-2, .uk-grid > .uk-width-medium-2-4, .uk-grid > .uk-width-medium-3-6 { width: 50%; }
  .uk-grid > .uk-width-medium-1-3, .uk-grid > .uk-width-medium-2-6 { width: calc(100% / 3); }
  .uk-grid > .uk-width-medium-2-3, .uk-grid > .uk-width-medium-4-6 { width: calc(200% / 3); }
  .uk-grid > .uk-width-medium-1-4 { width: 25%; }
  .uk-grid > .uk-width-medium-3-4 { width: 75%; }
  .uk-grid > .uk-width-medium-1-5 { width: 20%; }
  .uk-grid > .uk-width-medium-2-5 { width: 40%; }
  .uk-grid > .uk-width-medium-3-5 { width: 60%; }
  .uk-grid > .uk-width-medium-1-6 { width: calc(100% / 6); }
  .uk-grid > .uk-width-small-1-2 { width: 50%; }
}
@media (min-width: 480px) {
  .uk-grid > .uk-width-small-1-2 { width: 50%; }
  .uk-grid > .uk-width-small-1-3 { width: calc(100% / 3); }
}
@media (min-width: 1220px) {
  .uk-grid > .uk-width-large-1-2 { width: 50%; }
  .uk-grid > .uk-width-large-1-3 { width: calc(100% / 3); }
  .uk-grid > .uk-width-large-1-4 { width: 25%; }
}

/* ---------- Footer ---------- */
.tm-block-footer {
  padding: 70px 0 60px;
  background: var(--tm-muted-bg);
  color: var(--tm-heading);
  font-size: 14px;
}
.tm-block-footer #tm-block-footer, .tm-block-footer .mod-custom { margin: 0; }
.tm-block-footer .uk-grid { row-gap: 40px; }
.tm-block-footer .uk-panel { min-height: 0 !important; }
.tm-block-footer .footer-logo { display: block; width: 180px; height: auto; margin-bottom: 15px; }
.tm-block-footer h3 { font-size: 20px; line-height: 1.2; color: var(--tm-heading); margin: 0 0 20px !important; }
.tm-block-footer .title-fix { max-width: 300px; }
.tm-block-footer .uk-text-muted h3 { font-size: 20px; line-height: 1.1; }
.tm-block-footer .uk-text-muted h3 br + br { display: none; }
.tm-block-footer hr { width: 50px; height: 0; margin: 0 0 25px; border: 0; border-top: 2px solid var(--tm-heading); }
.tm-block-footer table { border-collapse: collapse; }
.tm-block-footer table td { padding: 0 0 12px; vertical-align: top; }
.tm-block-footer table td:first-child { padding-right: 6px; }
.tm-block-footer a { color: var(--tm-heading); }
.tm-block-footer a:hover { color: var(--tm-red); }
.tm-footer-menu { margin: 0; font-size: 14px; }
.tm-footer-menu > li { margin-top: 2px; }
.tm-footer-menu > li.uk-active > a { color: var(--tm-red); }

.tm-footer {
  padding: 15px 0;
  background: var(--tm-red);
  color: var(--tm-white);
  font-size: 13px;
}
.tm-footer p { margin: 0; }
.tm-footer a { color: var(--tm-white); }
.tm-totop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, .8);
}
.tm-totop:hover { color: var(--tm-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  :root { --tm-header-height: 96px; }
  .tm-header-right { align-items: flex-end; }
  .tm-badge { height: 40px; margin: 0; }
}

@media (max-width: 959px) {
  .tm-page { padding: 25px 0 50px; }
  .tm-home .tm-page { padding-top: 20px; }
  .home-container { padding: 25px 10px 35px; }
  .home-inner-container { padding: 0; }
  .karyer-wk .uk-card-body { padding: 20px; }
  .tm-breadcrumbs { padding: 20px; }
  .tm-product-card-title, .tm-product-title { font-size: 26px; }
}

@media (max-width: 639px) {
  :root { --tm-header-height: 80px; }
  html { font-size: 15px; }
  h1, .uk-h1 { font-size: 1.9rem; }
  h2, .uk-h2, .home-container h2 { font-size: 1.6rem; }
  .tm-headerbar { gap: 10px; }
  .tm-logo-small img { width: 190px; }
  .tm-badge { display: none; }
  .tm-panel-body { padding: 20px; }
  .uk-panel-box { padding: 20px; }
  .uk-panel-box.uk-panel-header > .uk-panel-title, .uk-panel-header > .uk-panel-title { margin: -20px -20px 20px; padding: 14px 20px; }
  .home-certificate-container { padding: 15px; }
  .karyer-wk-slide-overlay { max-width: none; padding: 12px 15px; }
  .karyer-wk-slideshow .karyer-wk-slide-overlay.uk-position-center-left {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    margin: 0;
  }
  .karyer-wk-slide-overlay h2 { font-size: 16px; }
  .karyer-wk-slide-overlay .uk-button-default { display: none; }
  .tm-footer .uk-container { flex-direction: column; gap: 8px; text-align: center; }
  .tm-product { padding: 15px; }
  .tm-thumbnav img { width: 60px; height: 42px; }
}

/* Slideshows inside articles (company page) had no caption box and no red line on the old site. */
.tm-content .karyer-wk-slideshow { border-top: 0; }
.tm-content .karyer-wk-slide-overlay { display: none; }
