/*  
Theme Name: ATS Intranet
Theme URI: https://atstelcom.cz;
Description: Moderní intranetový portál ATS TELCOM přizpůsobený pro Bootstrap 5
Version: 3.0
Author: ATS TELCOM
Author URI: https://atstelcom.cz;
*/


/* ===================================================
   ATS TELCOM Intranet Portal - Comprehensive Stylesheet
   =================================================== */
:root {
  --color-primary-navy: #00203e;
  --color-corporate-blue: #006098;
  --color-petrol-blue: #154c66;
  --color-petrol-hover: #0f3c52;
  --color-sidebar-bg: #ffffff;
  --color-main-bg: #f8f9fb;
  --color-footer-bg: #878787;
  --color-border-card: #d5d9de;
  --color-border-sidebar: #e5e7eb;
  --color-border-light: #e2e8f0;
  --color-text-main: #111827;
  --color-text-muted: #555555;
  --color-text-subtle: #718096;
  --color-blue-link: #006098;
  --color-search-bg: #e9ebed;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Bootstrap 5 Primary & Link Color Overrides */
  --bs-primary: #006098;
  --bs-primary-rgb: 0, 96, 152;
  --bs-link-color: #006098;
  --bs-link-color-rgb: 0, 96, 152;
  --bs-link-hover-color: #0f3c52;
  --bs-link-hover-color-rgb: 15, 60, 82;
  --bs-focus-ring-color: transparent;

  /* Standard Typographic Scale */
  --font-base: 1rem;       /* 16px */
  --font-sm: 0.875rem;     /* 14px */
  --font-xs: 0.75rem;      /* 12px */
  --font-h6: 1rem;         /* 16px */
  --font-h5: 1.125rem;     /* 18px */
  --font-h4: 1.25rem;      /* 20px */
  --font-h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);      /* 20–24px */
  --font-h2: clamp(1.625rem, 1.35rem + 1.35vw, 2rem);      /* 26–32px */
  --font-h1: clamp(2rem, 1.6rem + 2vw, 2.5rem);             /* 32–40px */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--color-main-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: var(--font-base, 16px);
  line-height: 1.6;
}

p {
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-h1); line-height: 1.2; font-weight: 700; }
h2 { font-size: var(--font-h2); line-height: 1.25; font-weight: 700; }
h3 { font-size: var(--font-h3); line-height: 1.3; font-weight: 600; }
h4 { font-size: var(--font-h4); line-height: 1.35; font-weight: 600; }
h5 { font-size: var(--font-h5); line-height: 1.4; font-weight: 600; }
h6 { font-size: var(--font-h6); line-height: 1.4; font-weight: 600; }
small { font-size: var(--font-sm); line-height: 1.4; }

/* Screen Reader Only Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* Page Frame */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background-color: #ffffff;
}

.app-main {
  display: flex;
  flex: 1;
}

/* ===================================================
   SIDEBAR (Desktop: Fixed Sticky 298px, Mobile: Sticky Bar + Drawer)
   =================================================== */
.sidebar {
  width: 298px;
  min-width: 298px;
  max-width: 298px;
  background-color: var(--color-sidebar-bg);
  padding: 28px 22px 28px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border-sidebar);
  box-sizing: border-box;
}

/* Desktop Fixed Sidebar (permanently fixed on left, content scrolls) */
@media (min-width: 992px) {
  .app-main {
    display: flex;
    flex: 1;
    position: relative;
    width: 100%;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 298px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
  }

  body.admin-bar .sidebar {
    top: 32px;
    height: calc(100vh - 32px);
  }

  .sidebar::-webkit-scrollbar {
    width: 4px;
  }
  .sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  .sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
  }

  .main-column {
    margin-left: 298px;
    width: calc(100% - 298px);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--color-main-bg);
    min-height: 100vh;
  }

  .footer {
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    margin-top: auto;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu-backdrop {
    display: none !important;
  }
}

.sidebar-logo-container {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sidebar-logo {
  display: block;
  width: 220px;
  height: auto;
  user-select: none;
}

/* Mobile Hamburger Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.15s ease;
  z-index: 1002;
  box-sizing: border-box;
}

.mobile-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-corporate-blue);
  outline-offset: 2px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--color-primary-navy);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.mobile-menu-backdrop {
  display: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.nav-tree-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav-group-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.nav-group-item.is-active {
  margin-bottom: 18px;
}

/* Active Parent Pill (Rozcestník) */
.nav-pill-active {
  background-color: var(--color-primary-navy);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15.5px;
  padding: 9px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
  margin-bottom: 16px;
  margin-left: -6px;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 8px rgba(15, 37, 55, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-pill-active:hover {
  background-color: #173b57;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 37, 55, 0.22);
}

/* Inactive Parent Rozcestník Link */
.main-nav-link {
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: -6px;
}

.main-nav-link:hover,
.main-nav-link:focus-visible {
  background-color: var(--color-primary-navy);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 37, 55, 0.15);
  transform: translateX(2px);
}

/* Submenu under active parent - with generous bottom margin to prevent collision with next parent */
.submenu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 24px;
  margin-top: 2px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.submenu-item {
  display: block;
}

.submenu-link {
  color: var(--color-blue-link);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
  padding: 2px 0;
}

.submenu-link:hover {
  text-decoration: underline !important;
  color: #004d99 !important;
  font-weight: 700 !important;
}

/* Active submenu item: Underlined and bold */
.submenu-link.active {
  text-decoration: underline !important;
  font-weight: 700 !important;
  color: #004d99 !important;
}

/* ===================================================
   MAIN COLUMN & HEADER
   =================================================== */
.main-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--color-main-bg);
  min-width: 0;
}

/* Top Header Bar */
.top-header {
  height: 64px;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-main-bg);
}

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-search-bg);
  border-radius: 9999px;
  height: 38px;
  padding: 0 18px;
  width: 440px;
  max-width: 100%;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.header-search:focus-within {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.header-search-icon {
  color: var(--color-text-subtle);
  flex-shrink: 0;
}

.header-search-input,
.header-search-input:focus,
.header-search-input:active {
  border: none !important;
  background: transparent !important;
  font-family: inherit;
  font-size: var(--font-sm);
  color: var(--color-text-main);
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
}

.header-search-input::placeholder {
  color: var(--color-text-subtle);
  opacity: 0.95;
}

/* Header Utilities */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Admin Button in Header */
.btn-admin-nav {
  background-color: var(--color-primary-navy);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(15, 37, 55, 0.15);
  border: 1px solid transparent;
}

.btn-admin-nav:hover,
.btn-admin-nav:focus-visible {
  background-color: #173b57;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(15, 37, 55, 0.22);
  transform: translateY(-1px);
}

.header-divider {
  width: 1px;
  height: 24px;
  background-color: #d1d5db;
  margin: 0 2px;
}

.header-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.header-icon-btn:hover {
  opacity: 0.75;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Logged-in User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 2px;
  text-decoration: none;
  cursor: pointer;
}

.user-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.user-name {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--color-text-main);
}

.user-role {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-subtle);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.user-avatar-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-blue-link);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Guest Header (login.html) */
.header-guest-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-main);
  cursor: pointer;
}

.guest-login-text {
  font-size: var(--font-sm);
  font-weight: 700;
  color: #111827;
}

.guest-avatar-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-avatar-wrapper svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===================================================
   CONTENT WRAPPERS (Full width across rest of screen)
   =================================================== */
.content-wrapper {
  padding: 32px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.content-wrapper--wide {
  width: 100%;
  max-width: none;
  gap: 24px;
  padding-bottom: 48px;
}

/* ===================================================
   HERO CARD (index.html)
   =================================================== */
.hero-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 20px;
  padding: 38px 32px 32px 32px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-size: var(--font-h1);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.hero-subtitle {
  font-size: var(--font-base);
  color: #555555;
  margin-bottom: 22px;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #111827;
  border-radius: 9999px;
  height: 48px;
  padding: 0 20px;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hero-search-bar:focus-within {
  border-color: #111827;
  box-shadow: none;
  outline: none;
}

.hero-search-icon {
  color: #111827;
  flex-shrink: 0;
}

.hero-search-input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: var(--font-base);
  color: var(--color-text-main);
  outline: none;
  width: 100%;
}

.hero-search-input::placeholder {
  color: #64748b;
  opacity: 0.9;
}

/* ===================================================
   LOGIN CARD (login.html)
   =================================================== */
.login-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 20px;
  padding: 42px 36px 44px 36px;
  text-align: center;
  max-width: 620px;
  width: 100%;
  margin: 30px auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.login-title {
  font-size: var(--font-h1);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
}

.login-input-wrapper {
  margin-bottom: 16px;
}

.login-input {
  width: 100%;
  height: 44px;
  border: 1.5px solid #111827;
  border-radius: 9999px;
  padding: 0 20px;
  font-family: inherit;
  font-size: var(--font-base);
  color: #111827;
  outline: none;
  background-color: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-input::placeholder {
  color: #64748b;
  font-size: var(--font-sm);
}

.login-input:focus {
  border-color: var(--color-corporate-blue);
  box-shadow: 0 0 0 2px rgba(0, 96, 152, 0.15);
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  width: 100%;
}

.remember-checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}

.remember-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #111827;
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background-color 0.15s, border-color 0.15s;
  outline: none;
}

.remember-checkbox:checked {
  background-color: #111827;
}

.remember-checkbox:checked::before {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.remember-text {
  font-size: var(--font-sm);
  color: #111827;
  font-weight: 500;
}

.btn-login {
  background-color: var(--color-corporate-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 10px 28px;
  cursor: pointer;
  letter-spacing: -0.1px;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 124px;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active {
  background-color: #004e7c;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(0, 96, 152, 0.25);
  transform: translateY(-1px);
}

.forgot-password-container {
  text-align: center;
  margin-top: -4px;
}

.forgot-password-link {
  color: #4b5563;
  font-size: var(--font-sm);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.forgot-password-link:hover {
  text-decoration: underline;
  color: #111827;
}

/* ===================================================
   404 ERROR PAGE (404.html)
   =================================================== */
.error-404-container {
  display: flex;
  align-items: center;
  gap: 62px;
  padding: 48px 46px 60px 42px;
  max-width: 860px;
  width: 100%;
}

.error-404-img-wrapper {
  width: 220px;
  height: 220px;
  min-width: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.error-404-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.error-404-content {
  display: flex;
  flex-direction: column;
}

.error-404-title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: #1d1d1b;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.error-404-code {
  font-size: var(--font-h3);
  font-weight: 700;
  color: #1d1d1b;
  margin-top: 28px;
  letter-spacing: -0.2px;
}

.error-404-actions {
  margin-top: 24px;
}

.btn-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary-navy);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: var(--font-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-home-link:hover {
  background-color: #003666;
  transform: translateY(-1px);
}

/* ===================================================
   OBSAH.HTML COMPONENTS
   =================================================== */
.page-header-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 16px;
  padding: 24px 28px 22px 28px;
  display: flex;
  flex-direction: column;
}

.page-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.tag-template {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e8f0f8;
  color: #1e3a5f;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 9999px;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.btn-outline-print:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.btn-primary-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-petrol-blue);
  border: 1px solid var(--color-petrol-blue);
  color: #ffffff !important;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn-primary-new:hover,
.btn-primary-new:focus,
.btn-primary-new:active {
  background-color: var(--color-petrol-hover);
  border-color: var(--color-petrol-hover);
  color: #ffffff !important;
}

.btn-primary-new span,
.btn-primary-new:hover span,
.btn-primary-new:focus span,
.btn-primary-new:active span {
  color: #ffffff !important;
}

.page-main-title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.page-main-desc {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 18px;
  line-height: 1.65;
}

.page-meta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-sm);
  color: #6b7280;
}

.meta-item svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.badge-version {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: var(--font-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-left: auto;
}

.dot-indicator-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

/* Callouts / Anotace */
.callout {
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout-info {
  background-color: #f0f7ff;
  border-left: 4px solid #0284c7;
  border-top: 1px solid #e0f2fe;
  border-right: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
}

.callout-warning {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-top: 1px solid #fef3c7;
  border-right: 1px solid #fef3c7;
  border-bottom: 1px solid #fef3c7;
}

.callout-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.callout-info .callout-icon {
  color: #0284c7;
}

.callout-warning .callout-icon {
  color: #f59e0b;
}

.callout-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.callout-title {
  font-size: var(--font-h5);
  font-weight: 700;
}

.callout-info .callout-title {
  color: #0369a1;
}

.callout-warning .callout-title {
  color: #b45309;
}

.callout-text {
  font-size: var(--font-sm);
  color: #334155;
  line-height: 1.6;
}

/* Standard Typography Content (H2) */
.section-title-h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  color: #111827;
  margin-top: 6px;
  margin-bottom: 8px;
}

.prose-text {
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
}

.prose-text + .prose-text {
  margin-top: 14px;
}

/* Structured Lists Section (H3) */
.section-title-h3 {
  font-size: var(--font-h3);
  font-weight: 700;
  color: #111827;
  margin-top: 8px;
  margin-bottom: 6px;
}

.section-desc-h3 {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.6;
}

.list-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.list-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 14px;
  padding: 20px 22px;
}

.list-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-h5);
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.list-card-header svg {
  color: #111827;
  flex-shrink: 0;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bullet-item {
  position: relative;
  padding-left: 20px;
  font-size: var(--font-sm);
  color: #4b5563;
  line-height: 1.6;
}

.bullet-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #111827;
}

.bullet-item strong {
  color: #111827;
  font-weight: 700;
}

/* Data Table Section */
.table-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
  margin-top: 8px;
}

.table-section-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-filter-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
}

.table-search-input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 36px;
  padding: 0 12px;
  font-family: inherit;
  font-size: var(--font-sm);
  color: #111827;
  outline: none;
  width: 170px;
  background-color: #ffffff;
}

.table-search-input::placeholder {
  color: #9ca3af;
}

.btn-export-csv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-export-csv:hover {
  background-color: #f3f4f6;
}

/* Data Table Container */
.data-table-container {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table thead {
  background-color: var(--color-petrol-blue);
  color: #ffffff;
}

.data-table th {
  padding: 12px 18px;
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.data-table th:last-child {
  text-align: left;
  padding-right: 18px;
}

.data-table td {
  padding: 14px 18px;
  font-size: var(--font-sm);
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.data-table td:last-child {
  text-align: left;
  padding-right: 18px;
}

.data-table th.th-action,
.data-table td.td-action {
  text-align: right;
  padding-right: 22px;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

.cell-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #111827;
}

.cell-with-icon svg {
  color: #2367bf;
  flex-shrink: 0;
}

/* Badges in table */
.badge-template {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: var(--font-xs);
  font-weight: 600;
}

.badge-template--blue {
  background-color: #e0f2fe;
  color: #0369a1;
}

.badge-template--purple {
  background-color: #f3e8ff;
  color: #7e22ce;
}

.badge-template--green {
  background-color: #ecfdf5;
  color: #047857;
}

/* Status dots */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-xs);
  font-weight: 500;
  background-color: #f3f4f6;
  padding: 3px 10px;
  border-radius: 9999px;
}

.status-pill--active {
  color: #047857;
  background-color: #ecfdf5;
}

.status-pill--maintenance {
  color: #b45309;
  background-color: #fef3c7;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.status-dot-orange {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f59e0b;
}

.action-link {
  color: #111827;
  font-size: var(--font-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.action-link:hover {
  color: var(--color-blue-link);
}

/* Pagination Row */
.table-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background-color: #ffffff;
}

.table-pagination-info {
  font-size: var(--font-sm);
  color: #6b7280;
}

.table-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-page {
  min-width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #374151;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.btn-page:hover:not(:disabled) {
  background-color: #f3f4f6;
}

.btn-page--active {
  background-color: var(--color-petrol-blue);
  border-color: var(--color-petrol-blue);
  color: #ffffff;
}

.btn-page:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===================================================
   ACTION TILES (Fluid 6 columns on wide desktop, responsive)
   =================================================== */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
}

.tile-card {
  height: 132px;
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-main);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  user-select: none;
  padding: 12px 14px;
}

.tile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #b8c0cc;
}

.tile-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.tile-title {
  font-size: var(--font-sm);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.1px;
}

/* Special Navy Tile 6 */
.tile-card--navy {
  background-color: var(--color-primary-navy);
  border-color: var(--color-primary-navy);
  color: #ffffff;
}

.tile-card--navy:hover {
  background-color: #002b54;
  border-color: #002b54;
  box-shadow: 0 5px 14px rgba(0, 32, 62, 0.25);
}

.tile-card--navy .tile-title {
  color: #ffffff;
}

.tile-card--navy .tile-icon-img {
  filter: brightness(0) invert(1);
}

.tile-icon-img--it {
  width: 44px;
  height: 44px;
}

/* ===================================================
   LINKEDIN NEWS SECTION
   =================================================== */
.linkedin-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
  width: 100%;
}

.section-heading {
  font-size: var(--font-h4);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.2px;
}

.linkedin-content-grid {
  display: grid;
  grid-template-columns: minmax(420px, 560px) 1fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

/* Featured Left ISSS Card */
.linkedin-featured-card {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  position: relative;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linkedin-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 32, 62, 0.16);
}

.linkedin-featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform 0.4s ease;
}

.linkedin-featured-card:hover .linkedin-featured-img {
  transform: scale(1.03);
}

.linkedin-featured-overlay {
  position: relative;
  z-index: 2;
  padding: 34px 28px 24px;
  background: linear-gradient(180deg, rgba(0, 20, 42, 0) 0%, rgba(0, 24, 52, 0.55) 30%, rgba(0, 24, 52, 0.92) 76%, rgba(0, 24, 52, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
}

.linkedin-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: rgba(35, 103, 191, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
}

.linkedin-featured-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.32;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.linkedin-featured-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e2e8f0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.linkedin-featured-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  margin-top: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.linkedin-featured-card:hover .linkedin-featured-footer {
  color: #ffffff;
  transform: translateX(3px);
}

/* Right News List */
.linkedin-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 12px;
}

.linkedin-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--color-text-main);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 10px 14px;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1px solid #eef2f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.linkedin-list-item:hover {
  transform: translateX(4px);
  border-color: #cbd5e1;
  background-color: #fafbfc;
  box-shadow: 0 4px 12px rgba(0, 32, 62, 0.06);
}

.linkedin-list-item:hover .linkedin-item-title {
  color: var(--color-corporate-blue);
}

.linkedin-thumb-wrapper {
  width: 124px;
  height: 84px;
  min-width: 124px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.linkedin-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.linkedin-list-item:hover .linkedin-thumb {
  transform: scale(1.05);
}

.linkedin-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.linkedin-item-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-main);
  margin: 0 0 4px 0;
  transition: color 0.15s ease;
}

.linkedin-item-desc {
  font-size: 12.5px;
  line-height: 1.42;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================
   404 ERROR PAGE
   =================================================== */
.main-column--error {
  background-color: #ffffff;
}

.main-column--error .top-header {
  background-color: #ffffff;
}

.error-404-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 44px;
  width: 100%;
}

.error-404-container {
  display: flex;
  align-items: center;
  gap: 68px;
  max-width: 900px;
  margin: 0 auto;
}

.error-404-img-wrapper {
  width: 208px;
  height: 208px;
  min-width: 208px;
  border-radius: 50%;
  overflow: hidden;
}

.error-404-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.error-404-content {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
  min-width: 380px;
}

.error-404-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #1d1d1b;
  margin: 0 0 32px 0;
  letter-spacing: -0.2px;
  display: flex;
  flex-direction: column;
}

.error-404-title span {
  display: block;
  white-space: nowrap;
}

.error-404-code {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1b;
  margin: 0 0 28px 0;
  letter-spacing: -0.2px;
}

.error-404-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--color-corporate-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 96, 152, 0.25);
}

.error-404-btn:hover {
  background-color: #004d7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 96, 152, 0.35);
}

.error-404-btn svg {
  transition: transform 0.15s ease;
}

.error-404-btn:hover svg {
  transform: translateX(-3px);
}

/* ===================================================
   FOOTER (Standardized typography and spacing)
   =================================================== */
.footer {
  background-color: var(--color-footer-bg);
  color: #ffffff;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-sm);
  min-height: 72px;
  height: auto;
  box-sizing: border-box;
  margin-left: 0 !important;
  width: 100% !important;
  margin-top: auto;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.4;
}

.footer-company {
  font-weight: 700;
  font-size: var(--font-sm);
}

.footer-copyright {
  opacity: 0.9;
  font-size: var(--font-xs);
}

.footer-version {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-version strong {
  color: #38bdf8;
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-ict {
  font-size: var(--font-sm);
  color: #ffffff;
}

.footer-ict-label {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.footer-sep {
  opacity: 0.5;
}

.footer-sep-bar {
  opacity: 0.35;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: var(--font-sm);
  transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-link:hover {
  text-decoration: underline;
  color: #38bdf8;
  opacity: 1;
}

.footer-link--sitemap {
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.18s ease;
}

.footer-link--sitemap:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ===================================================
   ROZCESTNÍK (Informace a dokumentace - Full Width)
   =================================================== */
.content-wrapper--rozcestnik {
  max-width: none;
  width: 100%;
  padding: 32px 48px 52px 48px;
  gap: 28px;
  box-sizing: border-box;
}

.rozcestnik-header {
  margin-bottom: 24px;
}

.rozcestnik-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 40px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  margin-bottom: 28px;
  box-sizing: border-box;
}

.rozcestnik-title {
  font-size: var(--font-h1);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.rozcestnik-subtitle {
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
  max-width: none;
}

.rozcestnik-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 100%;
  width: 100%;
}

.rozcestnik-grid-row {
  row-gap: 24px;
}

.rozcestnik-card {
  padding: 34px 32px !important;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 270px;
  box-sizing: border-box;
}

.rozcestnik-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.rozcestnik-card-body {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.rozcestnik-card .bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.rozcestnik-card .bento-card-desc {
  font-size: 15px;
  color: #1e293b;
  line-height: 1.6;
  margin-bottom: 0;
}

.rozcestnik-card-footer {
  margin-top: auto;
  padding-top: 8px;
}

.rozcestnik-card .card-elearning-btn {
  margin-top: 0;
}

.rozcestnik-row-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 26px;
  min-height: 310px;
  width: 100%;
}

.rozcestnik-row-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  min-height: 280px;
  width: 100%;
}

/* Base Card Style */
.bento-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

/* Icon Squircles */
.bento-icon-squircle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.bento-icon-squircle--blue {
  background-color: #e5eff8;
  color: var(--color-corporate-blue);
}

.bento-icon-squircle--gray {
  background-color: #f1f3f5;
  color: #1f2937;
}

/* Card 1: Vnitropodnikové směrnice */
.card-smernice {
  padding: 28px 26px;
  justify-content: space-between;
}

.card-smernice-content {
  display: flex;
  flex-direction: column;
}

.bento-card-title {
  font-size: var(--font-h3);
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.bento-card-desc {
  font-size: var(--font-sm);
  color: #555555;
  line-height: 1.6;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-corporate-blue);
  font-size: var(--font-sm);
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: gap 0.15s ease, color 0.15s ease;
  width: fit-content;
}

.bento-link:hover {
  color: #004d7a;
  gap: 11px;
}

/* Card 2: Vzdělávací portál */
.card-elearning {
  display: flex;
  flex-direction: row;
  padding: 0;
}

.card-elearning-body {
  flex: 1;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-elearning-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: var(--color-corporate-blue);
  color: #ffffff !important;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
  margin-top: 20px;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 96, 152, 0.2);
}

.card-elearning-btn:hover,
.card-elearning-btn:focus,
.card-elearning-btn:active {
  background-color: #004d7a;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 96, 152, 0.3);
}

.card-elearning-btn span,
.card-elearning-btn:hover span,
.card-elearning-btn:focus span,
.card-elearning-btn:active span {
  color: #ffffff !important;
}

.card-elearning-img-wrapper {
  width: 38%;
  min-width: 260px;
  overflow: hidden;
  display: flex;
  background-color: #f1f5f9;
}

.card-elearning-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card 3: Žádosti a formuláře */
.card-zadosti {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-zadosti-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: space-between;
}

.card-zadosti-main {
  flex: 1;
}

.card-zadosti-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  align-self: flex-start;
}

.pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: var(--font-sm);
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pdf-badge:hover {
  background-color: #e5e7eb;
  border-color: #cbd5e1;
  color: #111827;
  transform: translateX(2px);
}

.pdf-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 5px;
  color: #dc2626;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

/* Card 4: Zaměstnanecké výhody */
.card-vyhody {
  padding: 28px 26px;
  justify-content: space-between;
  position: relative;
}

.card-vyhody-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 150px;
  height: 150px;
  opacity: 0.08;
  pointer-events: none;
}

/* ===================================================
   DOKUMENTY PAGE (Full Width & Standard Typography)
   =================================================== */
.content-wrapper--dokumenty {
  max-width: none;
  width: 100%;
  padding: 28px 48px 52px 48px;
  gap: 24px;
  box-sizing: border-box;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--font-sm);
  color: var(--color-corporate-blue);
  margin-bottom: 12px;
}

.breadcrumb-nav a,
.breadcrumb-link,
.breadcrumb-home {
  color: var(--color-corporate-blue) !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.breadcrumb-nav a:hover,
.breadcrumb-link:hover,
.breadcrumb-home:hover {
  color: var(--color-petrol-hover, #0f3c52) !important;
  text-decoration: underline !important;
}

.breadcrumb-separator {
  color: #9ca3af;
  font-size: 11px;
  user-select: none;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-current {
  font-weight: 600;
  color: var(--color-corporate-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Main 2-Column Grid */
.dokumenty-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.dokumenty-main-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dokumenty-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Welcome Banner */
.dok-welcome-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  min-height: 230px;
  width: 100%;
}

.dok-welcome-body {
  flex: 1;
  padding: 30px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  background: linear-gradient(90deg, #ffffff 64%, rgba(255, 255, 255, 0.92) 80%, rgba(255, 255, 255, 0) 100%);
}

.dok-welcome-title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.dok-welcome-desc {
  font-size: var(--font-base);
  color: #555555;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: none;
}

.dok-welcome-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-dok-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: #1b304c;
  color: #ffffff !important;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 32, 62, 0.2);
}

.btn-dok-primary:hover,
.btn-dok-primary:focus,
.btn-dok-primary:active {
  background-color: #0b2b4d;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-dok-primary span,
.btn-dok-primary:hover span,
.btn-dok-primary:focus span,
.btn-dok-primary:active span {
  color: #ffffff !important;
}

.btn-dok-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background-color: #e5e7eb;
  color: #1f2937;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-dok-secondary:hover {
  background-color: #d1d5db;
  color: #111827;
}

.dok-welcome-img-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  z-index: 1;
}

.dok-welcome-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category Cards 2x2 Grid */
.dok-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dok-cat-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.dok-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.dok-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dok-cat-icon--blue {
  background-color: #e6eff8;
  color: var(--color-corporate-blue);
}

.dok-cat-icon--orange {
  background-color: #fef3e7;
  color: #d97706;
}

.dok-cat-icon--gray {
  background-color: #f1f5f9;
  color: #334155;
}

.dok-cat-icon--red {
  background-color: #fee2e2;
  color: #dc2626;
}

.dok-cat-icon--green {
  background-color: #ecfdf5;
  color: #059669;
}

.hover-bg-light:hover {
  background-color: #f1f5f9 !important;
}

.dok-cat-title {
  font-size: var(--font-h5);
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.dok-cat-desc {
  font-size: var(--font-sm);
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.dok-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--color-corporate-blue);
  text-decoration: none;
  transition: gap 0.15s ease;
}

.dok-cat-link:hover {
  gap: 9px;
}

/* Files Table Card */
.dok-files-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dok-files-header {
  padding: 18px 24px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.dok-files-title {
  font-size: var(--font-h4);
  font-weight: 700;
  color: #111827;
}

.dok-files-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dok-tool-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.dok-tool-btn:hover {
  color: #111827;
}

.dok-files-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.dok-files-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.dok-files-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  font-size: var(--font-sm);
}

.dok-files-table tr:last-child td {
  border-bottom: none;
}

.dok-file-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #111827;
  font-size: var(--font-sm);
}

.dok-file-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 800;
}

.badge-pdf { background-color: #fee2e2; color: #dc2626; }
.badge-docx { background-color: #e0f2fe; color: #0284c7; }
.badge-pptx { background-color: #ffedd5; color: #ea580c; }
.badge-xlsx { background-color: #dcfce7; color: #16a34a; }

.btn-file-download {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-file-download:hover {
  background-color: var(--color-corporate-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Sidebar Widgets (Right Column) */
.dok-widget {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dok-widget-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.dok-widget-title {
  font-size: var(--font-h5);
  font-weight: 700;
  color: #111827;
}

.dok-quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dok-quick-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #1f2937;
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  transition: all 0.15s ease;
}

.dok-quick-link-item:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: var(--color-corporate-blue);
}

.dok-quick-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Announcement Card (Dark Blue) */
.dok-announcement-card {
  background-color: #182d47;
  color: #ffffff;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(24, 45, 71, 0.15);
}

.dok-announcement-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.dok-announcement-title {
  font-size: var(--font-h5);
  font-weight: 700;
  color: #ffffff;
}

.dok-announcement-text {
  font-size: var(--font-sm);
  line-height: 1.55;
  color: #cbd5e1;
}

.btn-announcement {
  align-self: flex-start;
  padding: 8px 18px;
  background-color: #ffffff;
  color: #182d47;
  font-size: var(--font-sm);
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.15s;
}

.btn-announcement:hover {
  background-color: #f1f5f9;
}

/* Support Card */
.dok-support-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dok-support-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dok-support-avatar-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #006098;
  flex-shrink: 0;
}

.dok-support-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dok-support-person {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.dok-support-name {
  font-size: var(--font-base);
  font-weight: 700;
  color: #111827;
}

.dok-support-role {
  font-size: var(--font-sm);
  color: #64748b;
}

.dok-support-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--font-sm);
  color: #475569;
}

.dok-support-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.dok-support-contact-item:hover {
  color: var(--color-corporate-blue);
}

.btn-support-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 1.5px solid var(--color-corporate-blue);
  color: var(--color-corporate-blue);
  background-color: transparent;
  border-radius: 10px;
  font-size: var(--font-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-support-msg:hover {
  background-color: var(--color-corporate-blue);
  color: #ffffff;
}

/* ===================================================
   ZAMĚSTNANCI (Aktivní úkoly týmu & KPI metriky - Full Width)
   =================================================== */
.content-wrapper--zamestnanci {
  max-width: none;
  width: 100%;
  padding: 32px 48px 52px 48px;
  gap: 26px;
  box-sizing: border-box;
}

/* 4-Column KPI Stats Grid */
.kpi-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.kpi-stat-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.kpi-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.kpi-stat-info {
  display: flex;
  flex-direction: column;
}

.kpi-stat-label {
  font-size: var(--font-xs);
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.kpi-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  margin-top: 6px;
}

.kpi-stat-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-icon--indigo { background-color: #e0e7ff; color: #4338ca; }
.kpi-icon--amber  { background-color: #fef3c7; color: #d97706; }
.kpi-icon--gray   { background-color: #f1f3f5; color: #4b5563; }
.kpi-icon--sky    { background-color: #e0f2fe; color: #0284c7; }

/* Main Tasks Card */
.tasks-main-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.tasks-card-header {
  padding: 20px 28px 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.tasks-card-title {
  font-size: var(--font-h4);
  font-weight: 700;
  color: #111827;
}

.tasks-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-corporate-blue);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.15s, opacity 0.15s;
}

.tasks-filter-btn:hover {
  background-color: #f1f5f9;
  opacity: 0.9;
}

/* Tasks Table */
.tasks-table-container {
  overflow-x: auto;
}

.tasks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

.tasks-table th {
  text-align: left;
  padding: 12px 24px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.tasks-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.tasks-table tr:hover td {
  background-color: #fafbfc;
}

.task-id {
  font-size: var(--font-sm);
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.task-name {
  font-size: var(--font-sm);
  color: #4b5563;
}

.assignee-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assignee-avatar-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assignee-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.assignee-unassigned-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #6b7280;
  font-size: var(--font-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assignee-name {
  font-size: var(--font-sm);
  color: #1f2937;
}

.assignee-name--unassigned {
  font-style: italic;
  color: #6b7280;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-pill--in-progress { background-color: #fef3c7; color: #92400e; }
.status-pill--waiting     { background-color: #f3f4f6; color: #4b5563; }
.status-pill--done        { background-color: #e0f2fe; color: #0369a1; }
.status-pill--high        { background-color: #fee2e2; color: #b91c1c; }

.task-due-date {
  font-size: var(--font-sm);
  color: #4b5563;
}

.task-due-date--asap {
  color: #dc2626;
  font-weight: 700;
  font-style: italic;
}

/* Tasks Card Footer */
.tasks-card-footer {
  padding: 14px 28px;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e7eb;
}

.tasks-count-text {
  font-size: var(--font-sm);
  color: #6b7280;
}

.tasks-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-task-page {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: var(--font-sm);
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-task-page:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* ===================================================
   TELEFONNÍ SEZNAM (Zaměstnanci Directory Layout)
   =================================================== */
.tel-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.tel-header-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tel-title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.tel-subtitle {
  font-size: var(--font-sm);
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

.tel-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-tel-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e5e7eb;
  border: 1px solid #d1d5db;
  color: #374151;
  font-size: var(--font-sm);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.btn-tel-action:hover {
  background-color: #d1d5db;
  border-color: #9ca3af;
  color: #111827;
  transform: translateY(-1px);
}

.btn-tel-action:active {
  transform: translateY(0);
}

/* Top KPI & Toolbar Row */
.tel-top-section {
  width: 100%;
}

.tel-toolbar-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tel-search-wrapper {
  min-width: 240px;
}

.tel-search-input-group {
  border: 1px solid #d1d5db;
  border-radius: 9px;
  background-color: #f9fafb;
  padding: 4px 12px;
  transition: all 0.2s ease;
}

.tel-search-input-group:focus-within {
  border-color: #d1d5db;
  background-color: #ffffff;
  box-shadow: none;
  outline: none;
}

.tel-search-icon {
  margin-right: 4px;
}

.tel-search-input {
  font-size: 0.88rem;
  color: #111827;
  padding: 6px 6px;
}

.tel-search-input::placeholder {
  color: #9ca3af;
  font-size: 0.85rem;
}

.btn-tel-clear {
  color: #9ca3af;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  transition: color 0.15s;
}

.btn-tel-clear:hover {
  color: #111827;
}

/* Autocomplete Suggestion Popup (Našeptávač) */
.tel-autocomplete-dropdown {
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1060;
  max-height: 380px;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 14px 35px -5px rgba(0, 32, 62, 0.18), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.tel-autocomplete-list {
  max-height: 320px;
  overflow-y: auto;
}

.tel-suggestion-item {
  cursor: pointer;
  background-color: #ffffff;
  padding: 14px 18px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.15s ease;
}

.tel-suggestion-item:last-child {
  border-bottom: 0 !important;
}

.tel-suggestion-item:hover,
.tel-suggestion-item:focus {
  background-color: #f8fafc;
}

.tel-suggestion-name {
  font-size: 0.94rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.tel-suggestion-role {
  font-size: 0.8rem;
  color: #64748b;
}

.tel-suggestion-phone,
.tel-suggestion-email {
  font-size: 0.78rem;
  text-decoration: none;
}

.tel-suggestion-dept-wrapper {
  display: flex;
  align-items: center;
  align-self: center; /* Centered in the middle of the whole contact item */
}

.tel-dept-pill--suggestion {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 12px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Offcanvas Filter Drawer */
.tel-filter-offcanvas {
  width: 390px !important;
  max-width: 90vw;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.14);
}

body.admin-bar .tel-filter-offcanvas.offcanvas {
  top: 32px !important;
  height: calc(100vh - 32px) !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .tel-filter-offcanvas.offcanvas {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
  }
}

.tel-filter-offcanvas .offcanvas-header {
  padding: 18px 24px !important;
}

.tel-filter-drawer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0edff 0%, #dbeafe 100%);
  color: #1e40af;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 6px rgba(0, 32, 62, 0.06);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tel-filter-header-text h5 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.tel-dept-option-btn {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  background-color: #ffffff;
  transition: all 0.18s ease;
}

.tel-dept-option-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.tel-dept-option-btn.active {
  background-color: #eff6ff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6, 0 2px 6px rgba(59, 130, 246, 0.08);
}

.tel-dept-option-btn.active .fw-medium {
  color: #1d4ed8 !important;
}

.tel-radio-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  margin-right: 14px; /* Distinct, fresh space between radio circle and text */
  transition: all 0.18s ease;
}

.tel-dept-option-btn.active .tel-radio-check {
  border-color: #2563eb;
  background-color: #2563eb;
}

.tel-dept-option-btn.active .tel-radio-check::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
}

/* Active filter chip */
.tel-active-filter-chip {
  font-size: 0.78rem;
  border-radius: 6px;
}

/* Row highlight animation when selected from autocomplete */
.tel-row--highlight td {
  animation: telRowFlash 2s ease forwards;
}

@keyframes telRowFlash {
  0% {
    background-color: #e0edff;
  }
  70% {
    background-color: #f0f7ff;
  }
  100% {
    background-color: transparent;
  }
}

/* 4 Stat Cards in horizontal row */
.tel-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.tel-kpi-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tel-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.tel-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tel-kpi-icon--blue   { background-color: #e0edff; color: #1e40af; }
.tel-kpi-icon--orange { background-color: #ffedd5; color: #c2410c; }
.tel-kpi-icon--sky    { background-color: #e0f2fe; color: #0284c7; }
.tel-kpi-icon--rose   { background-color: #fee2e2; color: #dc2626; }

.tel-kpi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tel-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.tel-kpi-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  margin-top: 2px;
}

/* Directory Card & Table */
.tel-directory-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.tel-table-container {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.tel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
  text-align: left;
}

.tel-table th {
  padding: 14px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.tel-table td {
  padding: 16px 22px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #374151;
}

.tel-table tbody tr {
  transition: background-color 0.15s ease;
}

.tel-table tbody tr:hover td {
  background-color: #fafbfc;
}

/* User Identity Cell */
.tel-user-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.tel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  user-select: none;
}

.tel-avatar--mk    { background-color: #00203e; }
.tel-avatar--pt    { background-color: #854d0e; }
.tel-avatar--as    { background-color: #034175; }
.tel-avatar--photo {
  overflow: hidden;
  background-color: #e5e7eb;
}

.tel-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tel-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tel-user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

.tel-user-role {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.2;
}

/* Department pill badge */
.tel-dept-pill {
  display: inline-block;
  padding: 4px 14px;
  background-color: #e5e7eb;
  color: #374151;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.tel-phone-text {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.15s;
}

.tel-phone-text:hover {
  color: var(--color-corporate-blue);
  text-decoration: underline;
}

.tel-email-link {
  color: #1e40af;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.tel-email-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.tel-branch-text {
  color: #374151;
  font-size: 0.875rem;
  white-space: nowrap;
}

.tel-col-action {
  text-align: right;
  width: 44px;
  padding-right: 18px;
}

.btn-tel-more {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}

.btn-tel-more:hover {
  background-color: #f3f4f6;
  color: #111827;
}

/* Card Footer & Pagination */
.tel-card-footer {
  padding: 16px 22px;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 12px;
}

.tel-count-text {
  font-size: var(--font-sm);
  color: #6b7280;
}

.tel-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tel-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tel-page-btn:hover:not(:disabled):not(.tel-page-btn--active) {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.tel-page-btn:disabled {
  color: #cbd5e1;
  border-color: #f1f5f9;
  background-color: #fcfcfc;
  cursor: not-allowed;
}

.tel-page-btn--active {
  background-color: #00203e;
  color: #ffffff;
  border-color: #00203e;
  font-weight: 700;
}

.tel-page-ellipsis {
  padding: 0 4px;
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.875rem;
}

.submenu-link--active {
  color: #004d80;
  font-weight: 700;
}

/* ===================================================
   RESPONSIVENESS (Desktops, Laptops, Tablets, Mobile)
   =================================================== */

/* 1. Large Laptops / Small Desktops (<= 1280px) */
@media (max-width: 1280px) {
  .tiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .linkedin-content-grid {
    grid-template-columns: 320px 1fr;
  }
}

/* 2. Tablets Landscape / Mid Screens (<= 1024px) */
@media (max-width: 1024px) {
  .content-wrapper,
  .content-wrapper--wide,
  .content-wrapper--rozcestnik,
  .content-wrapper--dokumenty,
  .content-wrapper--zamestnanci,
  .content-wrapper--dokument-detail {
    padding: 20px 28px 36px 28px;
    gap: 20px;
  }
  .dokumenty-layout-grid {
    grid-template-columns: 1fr;
  }
  .rozcestnik-row-top,
  .rozcestnik-row-bottom {
    grid-template-columns: 1fr;
  }
  .kpi-stats-grid,
  .tel-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-elearning {
    flex-direction: row;
  }
  .card-elearning-img-wrapper {
    width: 240px;
    min-width: 200px;
  }
}

/* 3. Tablets Portrait & Mobile Navigation (<= 991.98px) */
@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden !important;
  }

  .app-main {
    flex-direction: column !important;
    width: 100% !important;
  }

  .main-column {
    margin-left: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Fixed/sticky mobile top bar: Logo on Left, Hamburger on Right */
  .sidebar {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 60px !important;
    z-index: 1000;
    border-right: none;
    border-bottom: 1px solid var(--color-border-sidebar);
    padding: 0 18px;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  body.has-quick-nav .sidebar {
    top: 38px;
  }

  .sidebar-logo-container {
    width: 100%;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-logo-link {
    display: flex;
    align-items: center;
  }

  .sidebar-logo {
    width: auto;
    height: 30px;
    max-width: 180px;
  }

  /* Hamburger Button on Right */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Morph to "X" when open */
  .sidebar.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .sidebar.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .sidebar.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Mobile Slide-in Drawer */
  .sidebar-nav {
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background-color: #ffffff;
    padding: 24px 20px 32px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.16);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
    visibility: hidden;
    border-left: 1px solid var(--color-border-sidebar);
    box-sizing: border-box;
  }

  body.has-quick-nav .sidebar-nav {
    top: 98px; /* 60px + 38px */
  }

  .sidebar.is-open .sidebar-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-pill-active {
    margin-bottom: 18px;
    font-size: 15px;
    padding: 8px 18px;
    width: fit-content;
    white-space: nowrap;
    display: inline-flex;
  }

  .submenu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 18px;
    margin-bottom: 24px;
    list-style: none;
  }

  .submenu-link {
    font-size: 14.5px;
    color: var(--color-blue-link);
    display: inline-block;
  }

  .main-nav-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
  }

  .main-nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-main);
    display: block;
  }

  /* Mobile Backdrop */
  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 32, 62, 0.45);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .top-header {
    padding: 0 18px;
  }
  .content-wrapper,
  .content-wrapper--wide,
  .content-wrapper--rozcestnik,
  .content-wrapper--dokumenty,
  .content-wrapper--zamestnanci,
  .content-wrapper--dokument-detail {
    max-width: 100%;
    padding: 16px;
    gap: 16px;
  }
  .hero-card {
    padding: 22px 18px 20px 18px;
    border-radius: 16px;
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-search-bar {
    width: 100%;
    max-width: 100%;
  }
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tile-card {
    height: 110px;
  }
  .linkedin-content-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .linkedin-featured-card {
    width: 100%;
    height: 200px;
  }
  .linkedin-list {
    height: auto;
    gap: 12px;
  }
  .login-card {
    padding: 24px 16px;
    max-width: 100%;
    margin: 16px 0;
  }
  .login-form {
    width: 100%;
  }
  .error-404-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 24px 16px;
  }
  .error-404-content {
    min-width: 0;
    align-items: center;
  }
  .error-404-title span {
    white-space: normal;
  }
  .card-elearning {
    flex-direction: column;
  }
  .card-elearning-img-wrapper {
    width: 100%;
    min-width: 0;
    height: 180px;
  }
  .card-zadosti-inner {
    flex-direction: column;
  }
  .card-zadosti-badges {
    width: 100%;
    margin-top: 14px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dok-welcome-card {
    min-height: auto;
    flex-direction: column;
  }
  .dok-welcome-img-wrapper {
    position: static;
    width: 100%;
    height: 160px;
  }
  .dok-welcome-body {
    background: #ffffff;
    padding: 20px 18px;
  }
  .dok-categories-grid {
    grid-template-columns: 1fr;
  }
  .list-cards-grid {
    grid-template-columns: 1fr;
  }
  .data-table-container,
  .tasks-table-container,
  .dok-table-container,
  .tel-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .data-table {
    min-width: 650px;
  }
  .tasks-table {
    min-width: 640px;
  }
  .dok-files-table {
    min-width: 600px;
  }
  .tel-table {
    min-width: 700px;
  }
  .tel-header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .tel-kpi-grid {
    grid-template-columns: 1fr;
  }
  .tel-card-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .table-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer {
    flex-direction: column;
    height: auto;
    gap: 12px;
    padding: 20px 16px;
    text-align: center;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

/* 4. Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .top-header {
    height: auto;
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .header-search {
    order: 2;
    width: 100%;
  }
  .header-right {
    order: 1;
    margin-left: auto;
  }
  .hero-title {
    font-size: 21px;
  }
  .hero-subtitle {
    font-size: 13px;
  }
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tile-card {
    height: 100px;
    padding: 6px 8px;
  }
  .tile-icon-img {
    width: 32px;
    height: 32px;
  }
  .tile-title {
    font-size: 11.5px;
  }
  .kpi-stats-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-title {
    font-size: 18px;
  }
  .dok-welcome-title {
    font-size: 20px;
  }
}

/* ===================================================
   WORDPRESS ADMIN BAR SUPPORT
   =================================================== */
#wpadminbar {
  z-index: 99999 !important;
}

/* Desktop admin-bar: full height sidebar offset by WP admin bar */
@media (min-width: 992px) {
  body.admin-bar .sidebar {
    top: 32px !important;
    height: calc(100vh - 32px) !important;
  }
}

/* Mobile & Tablet admin-bar (<= 991.98px): 60px top bar and drawer offset */
@media (max-width: 991.98px) {
  body.admin-bar .sidebar {
    top: 32px !important;
    height: 60px !important;
  }

  body.admin-bar .sidebar-nav {
    top: 92px !important; /* 32px admin bar + 60px mobile bar */
    height: calc(100vh - 92px) !important;
  }

  @media screen and (max-width: 782px) {
    body.admin-bar .sidebar {
      top: 46px !important;
      height: 60px !important;
    }

    body.admin-bar .sidebar-nav {
      top: 106px !important; /* 46px admin bar + 60px mobile bar */
      height: calc(100vh - 106px) !important;
    }
  }
}




/* ===================================================
   BOOTSTRAP 5 HARMONIZATION & COMPONENT ADAPTATIONS
   =================================================== */
.tiles-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.tiles-grid.row > .col {
  display: flex;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.tiles-grid.row .tile-card {
  width: 100%;
  height: 132px;
}

.linkedin-content-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.linkedin-content-grid.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.linkedin-content-grid.row .linkedin-featured-card {
  height: 100%;
  width: 100%;
}

.linkedin-content-grid.row .linkedin-list {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.rozcestnik-row-top.row,
.rozcestnik-row-bottom.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.rozcestnik-row-top.row > [class*="col-"],
.rozcestnik-row-bottom.row > [class*="col-"] {
  display: flex;
}

.rozcestnik-row-top.row .bento-card,
.rozcestnik-row-bottom.row .bento-card {
  width: 100%;
  min-height: 280px;
}

.dokumenty-layout-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.dok-categories-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.dok-categories-grid.row .dok-cat-card {
  width: 100%;
}

.list-cards-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.list-cards-grid.row .list-card {
  width: 100%;
}

.tel-kpi-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.tel-kpi-grid.row .tel-kpi-card {
  width: 100%;
}


/* Ensure Bootstrap rows do not inherit CSS grid gap */
.tiles-grid.row,
.linkedin-content-grid.row,
.rozcestnik-row-top.row,
.rozcestnik-row-bottom.row,
.dokumenty-layout-grid.row,
.dok-categories-grid.row,
.list-cards-grid.row {
  gap: 0 !important;
}

.tiles-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.tiles-grid.row > .col {
  display: flex !important;
}

.tiles-grid.row .tile-card {
  width: 100% !important;
  height: 132px !important;
}

.linkedin-content-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.linkedin-content-grid.row > [class*="col-"] {
  display: flex !important;
  flex-direction: column !important;
}

.linkedin-content-grid.row .linkedin-featured-card {
  height: 100% !important;
  width: 100% !important;
}

.linkedin-content-grid.row .linkedin-list {
  height: auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.rozcestnik-row-top.row,
.rozcestnik-row-bottom.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.rozcestnik-row-top.row > [class*="col-"],
.rozcestnik-row-bottom.row > [class*="col-"] {
  display: flex !important;
}

.rozcestnik-row-top.row .bento-card,
.rozcestnik-row-bottom.row .bento-card {
  width: 100% !important;
  min-height: 280px !important;
}

.dokumenty-layout-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.dok-categories-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.dok-categories-grid.row .dok-cat-card {
  width: 100% !important;
}

.list-cards-grid.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.list-cards-grid.row .list-card {
  width: 100% !important;
}

/* Footer layout inside main-column override */
.main-column .footer {
  margin-left: 0 !important;
  width: 100% !important;
  margin-top: auto !important;
  box-sizing: border-box !important;
}

/* ===================================================
   DETAIL DOKUMENTU (detail-dokumentu-template.php)
   =================================================== */
.content-wrapper--dokument-detail {
  width: 100%;
  max-width: none;
  gap: 24px;
  padding: 32px 48px 48px 48px;
}

/* Document Header Card */
.doc-header-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 16px;
  padding: 28px 32px 24px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doc-badge-type {
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 9999px;
}

.doc-badge-id {
  background-color: #f1f5f9;
  color: #334155;
  font-size: var(--font-xs);
  font-family: monospace, inherit;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.doc-status-pill {
  font-size: var(--font-xs);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
}

.doc-status--active {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.doc-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.doc-header-title {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.doc-header-perex {
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
  max-width: 900px;
}

.doc-quick-meta {
  border-color: #f1f5f9 !important;
  font-size: var(--font-sm);
  color: #64748b;
}

.doc-quick-item strong {
  color: #1e293b;
}

.doc-quick-link {
  color: var(--color-blue-link);
  text-decoration: none;
  font-weight: 600;
}

.doc-quick-link:hover {
  text-decoration: underline;
}

/* Quick Navigation Pills */
.doc-nav-pills {
  margin-bottom: -4px;
}

.doc-pill-link {
  background-color: #ffffff;
  border: 1px solid #d5d9de;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: var(--font-sm);
  font-weight: 600;
  color: #475569;
  transition: all 0.15s ease;
}

.doc-pill-link:hover {
  background-color: #f8fafc;
  color: var(--color-blue-link);
  border-color: #cbd5e1;
}

.doc-pill-link--highlight {
  background-color: #f0f7ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.doc-pill-link--highlight:hover {
  background-color: #dbeafe;
  color: #1e40af;
}

/* Section Cards */
.doc-section-card,
.doc-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doc-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.doc-section-icon--blue {
  background-color: #eff6ff;
  color: var(--color-corporate-blue);
}

.doc-section-title {
  font-size: var(--font-h4);
  font-weight: 700;
  color: #0f172a;
}

.doc-section-desc {
  font-size: var(--font-sm);
  color: #64748b;
}

/* Downloadable Files Stack */
.doc-file-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.doc-file-card:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 4px 12px rgba(35, 103, 191, 0.08);
  transform: translateY(-1px);
}

.doc-file-name {
  color: #0f172a;
}

.doc-prose-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
}

.doc-prose-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 24px;
  margin-bottom: 10px;
}

.doc-prose-body p {
  margin-bottom: 14px;
}

.doc-prose-body ul,
.doc-prose-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.doc-prose-body li {
  margin-bottom: 6px;
}

/* Revision History Table */
.doc-revision-table th {
  font-size: var(--font-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #475569;
}

.doc-revision-table td {
  font-size: var(--font-sm);
  color: #334155;
}

/* Metadata Card (Right Column) */
.doc-meta-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doc-meta-dt {
  letter-spacing: 0.6px;
  font-size: 11px;
  margin-bottom: 3px;
  color: #64748b !important;
}

.doc-meta-dd {
  font-size: var(--font-sm);
}

.doc-code-val {
  font-family: monospace, inherit;
  font-size: 13.5px;
  color: #0f172a;
  background-color: #f8fafc;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.doc-tag-pill {
  display: inline-block;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.doc-tag-pill:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Garant Card */
.doc-garant-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.doc-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-corporate-blue) 0%, var(--color-petrol-blue) 100%);
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 96, 152, 0.25);
}

/* Related Items */
.doc-related-item {
  background-color: #ffffff;
  transition: all 0.15s ease;
}

.doc-related-item:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1 !important;
  transform: translateX(2px);
}

/* ===================================================
   SINGLE POST / AKTUALITA DETAIL & RELATED NEWS
   =================================================== */
.btn-back-to-home {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}

.btn-back-to-home:hover {
  color: var(--color-corporate-blue);
  transform: translateX(-3px);
}

.post-header-card {
  border-color: #e2e8f0 !important;
}

.post-detail-title {
  font-size: 1.85rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0f172a;
}

@media (min-width: 992px) {
  .post-detail-title {
    font-size: 2.2rem;
  }
}

.post-content-card {
  border-color: #e2e8f0 !important;
}

.post-prose {
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
}

.post-prose p.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 400;
  color: #0f172a;
}

.post-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  margin-bottom: 1.35rem;
}

.post-featured-figure {
  margin: 2.2rem 0;
}

.post-featured-figure img {
  border-radius: 14px;
  max-height: 480px;
  object-fit: cover;
}

.post-featured-figure figcaption {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 10px;
}

/* Related News Cards */
.related-news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-color: #e2e8f0 !important;
}

.related-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 32, 62, 0.12) !important;
  border-color: #93c5fd !important;
}

.related-news-thumb-wrapper {
  height: 160px;
  background-color: #0f172a;
}

.related-news-thumb {
  transition: transform 0.35s ease;
}

.related-news-card:hover .related-news-thumb {
  transform: scale(1.05);
}

.related-news-title {
  font-size: 0.95rem;
  line-height: 1.38;
  color: #0f172a;
  transition: color 0.15s ease;
}

.related-news-card:hover .related-news-title {
  color: var(--color-corporate-blue) !important;
}

.related-news-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-news-cta {
  color: var(--color-corporate-blue);
  transition: transform 0.15s ease;
}

.related-news-card:hover .related-news-cta {
  transform: translateX(3px);
}

/* ===================================================
   AKTUALITY ARCHIVE PAGE (LISTING)
   =================================================== */
.aktuality-header-card {
  border-color: #e2e8f0 !important;
}

.aktuality-header-desc {
  font-size: 16px;
  color: #1e293b !important;
  line-height: 1.6;
}

.news-archive-perex {
  font-size: 15px;
  color: #1e293b !important;
  line-height: 1.6;
}

.aktuality-header-title {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

@media (min-width: 992px) {
  .aktuality-header-title {
    font-size: 2.1rem;
  }
}

.news-archive-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-color: #e2e8f0 !important;
}

.news-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 32, 62, 0.12) !important;
  border-color: #93c5fd !important;
}

.news-archive-thumb-wrap {
  height: 200px;
  background-color: #0f172a;
}

.news-archive-thumb {
  transition: transform 0.4s ease;
}

.news-archive-card:hover .news-archive-thumb {
  transform: scale(1.05);
}

.news-date-badge {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.news-archive-title {
  font-size: 1.05rem;
  line-height: 1.4;
  color: #0f172a;
  transition: color 0.15s ease;
}

.news-archive-card:hover .news-archive-title a {
  color: var(--color-corporate-blue) !important;
}

.news-archive-perex {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-archive-cta {
  color: var(--color-corporate-blue);
  transition: transform 0.15s ease;
}

.news-archive-card:hover .news-archive-cta {
  transform: translateX(4px);
}

/* Pagination */
.news-pagination-nav .pagination {
  margin: 0;
}

.news-pagination-nav .page-item .page-link {
  color: #475569;
  border-color: #e2e8f0;
  background-color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 40px;
  text-align: center;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.news-pagination-nav .page-item .page-link:hover {
  background-color: #f1f5f9;
  color: var(--color-corporate-blue);
  border-color: #cbd5e1;
}

.news-pagination-nav .page-item.active .page-link {
  background-color: var(--color-corporate-blue);
  border-color: var(--color-corporate-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(35, 103, 191, 0.3);
}

/* ===================================================
   MAPA STRÁNEK (Sitemap Page Styles)
   =================================================== */
.content-wrapper--sitemap {
  max-width: none;
  width: 100%;
  padding: 32px 48px 52px 48px;
  gap: 28px;
  box-sizing: border-box;
}

.sitemap-header-card {
  border-radius: 20px;
}

.sitemap-main-title {
  font-size: var(--font-h1, 1.875rem);
  letter-spacing: -0.5px;
}

.sitemap-main-desc {
  font-size: 16px;
  color: #1e293b !important;
  line-height: 1.6;
}

.sitemap-card {
  border-radius: 20px;
  border-color: #e2e8f0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sitemap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
  border-color: #cbd5e1;
}

.sitemap-card-title {
  font-size: 1.15rem;
  letter-spacing: -0.2px;
}

.sitemap-parent-link {
  transition: color 0.15s ease;
}

.sitemap-parent-link:hover {
  color: var(--color-corporate-blue) !important;
}

.sitemap-subpage-item {
  transition: background-color 0.15s ease, transform 0.15s ease;
  border: 1px solid transparent;
}

.sitemap-subpage-item:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.sitemap-arrow-icon {
  margin-top: 3px;
  transition: transform 0.15s ease;
}

.sitemap-subpage-item:hover .sitemap-arrow-icon {
  transform: translateX(3px);
}

.sitemap-item-name {
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.sitemap-subpage-item:hover .sitemap-item-name {
  color: var(--color-corporate-blue) !important;
}

.sitemap-item-desc {
  font-size: 0.8rem;
  line-height: 1.45;
}

.sitemap-card-footer .card-elearning-btn {
  font-size: 0.85rem;
  padding: 8px 18px;
}

/* ===================================================
   PORTAL SEARCH AUTOCOMPLETE (Našeptávač)
   =================================================== */
.portal-search-clear {
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  padding: 0 6px !important;
  cursor: pointer;
  transition: color 0.15s ease;
  background: transparent;
}

.portal-search-clear:hover {
  color: #111827;
}

.portal-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 460px;
  max-width: 92vw;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 1060;
  overflow: hidden;
  text-align: left !important;
  animation: portalDropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-autocomplete-dropdown--hero {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 10px) !important;
  border-radius: 16px !important;
  text-align: left !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

@keyframes portalDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portal-autocomplete-header {
  font-size: 11px;
  letter-spacing: 0.04em;
  background-color: #f8fafc;
  text-align: left !important;
}

.portal-autocomplete-list {
  max-height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
  text-align: left !important;
}

.portal-autocomplete-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: inherit;
  transition: background-color 0.12s ease;
  cursor: pointer;
  text-align: left !important;
}

.portal-autocomplete-item:last-child {
  border-bottom: none;
}

.portal-autocomplete-item:hover,
.portal-autocomplete-item.is-selected {
  background-color: #f0f7ff;
}

.portal-autocomplete-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2e8f0;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
}

.portal-autocomplete-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-autocomplete-main {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.portal-autocomplete-top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
  text-align: left !important;
}

.portal-autocomplete-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left !important;
}

.portal-autocomplete-item:hover .portal-autocomplete-title,
.portal-autocomplete-item.is-selected .portal-autocomplete-title {
  color: var(--color-corporate-blue, #006098);
}

.portal-autocomplete-subtitle {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  text-align: left !important;
}

.portal-autocomplete-extra {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  text-align: left !important;
}

.portal-autocomplete-icon-arrow {
  color: #cbd5e1;
  flex-shrink: 0;
  margin-left: auto !important;
  transition: transform 0.15s ease, color 0.15s ease;
}

.portal-autocomplete-item:hover .portal-autocomplete-icon-arrow,
.portal-autocomplete-item.is-selected .portal-autocomplete-icon-arrow {
  color: var(--color-corporate-blue, #006098);
  transform: translateX(2px);
}
  transition: transform 0.15s ease, color 0.15s ease;
}

.portal-autocomplete-item:hover .portal-autocomplete-icon-arrow,
.portal-autocomplete-item.is-selected .portal-autocomplete-icon-arrow {
  color: var(--color-corporate-blue, #006098);
  transform: translateX(2px);
}

/* TYPE BADGES (Zaměstnanec, Dokument, Stránka) */
.search-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.badge-type--employee {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-type--document {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-type--page {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.portal-autocomplete-footer kbd {
  background-color: #e2e8f0;
  color: #334155;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

mark.portal-highlight {
  background-color: #fef08a;
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}

/* ==========================================================================
   Obsahová stránka: WordPress Blockquote (Modrá anotace) & Seznamy
   ========================================================================== */
blockquote,
.wp-block-quote {
  margin: 1.5rem 0;
  padding: 16px 22px;
  background-color: #f0f7ff;
  border-left: 4px solid var(--color-petrol-blue, #006098);
  border-top: 1px solid #e0f2fe;
  border-right: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
  border-radius: 0 10px 10px 0;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.65;
}

blockquote p,
.wp-block-quote p {
  margin-bottom: 0;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
}

blockquote p + p,
.wp-block-quote p + p {
  margin-top: 0.75rem;
}

.content-standard-list {
  padding-left: 1.35rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-standard-list li {
  font-size: 15px;
  color: #1e293b;
  line-height: 1.65;
}

.content-standard-list li strong {
  color: #111827;
  font-weight: 700;
}

/* ==========================================================================
   Obsahová stránka: WYSIWYG Content Body Stylings
   ========================================================================== */
.content-body-wysiwyg {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card, #e2e8f0);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  margin-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
  .content-body-wysiwyg {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 2rem;
  }
}

.content-body-wysiwyg > :first-child {
  margin-top: 0 !important;
}

.content-body-wysiwyg > :last-child {
  margin-bottom: 0 !important;
}

.content-body-wysiwyg h2 {
  font-size: var(--font-h2, 22px);
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.content-body-wysiwyg h3 {
  font-size: var(--font-h3, 18px);
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.content-body-wysiwyg h4 {
  font-size: var(--font-h4, 16px);
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-body-wysiwyg p {
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

/* Citace / Anotace uvnitř WYSIWYG */
.content-body-wysiwyg blockquote,
.content-body-wysiwyg .wp-block-quote {
  margin: 1.5rem 0 1.75rem 0;
  padding: 18px 24px;
  background-color: #f0f7ff;
  border: none;
  border-left: 4px solid var(--color-corporate-blue, #006098);
  border-radius: 0 12px 12px 0;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.65;
}

/* Seznam / Kontrolní přehled: moderní akcentový panel bez vnějšího rámečku */
.content-body-wysiwyg .list-card {
  width: 100%;
  background-color: #f8fafc;
  border: none;
  border-left: 4px solid var(--color-corporate-blue, #006098);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.content-body-wysiwyg .list-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.content-standard-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-standard-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.6;
}

.content-standard-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-corporate-blue, #006098);
}

.content-standard-list li strong {
  color: #0f172a;
  font-weight: 700;
}

/* Data Table in WYSIWYG Content: čistá moderní tabulka bez bílého textu v hlavičce */
.content-body-wysiwyg .data-table-container {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: none;
}

.content-body-wysiwyg .table-responsive {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

.content-body-wysiwyg table,
.content-body-wysiwyg .data-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
  border: none;
  border-radius: 0;
}

.content-body-wysiwyg table thead,
.content-body-wysiwyg .data-table thead {
  background-color: #f8fafc !important;
  border-bottom: 2px solid #e2e8f0;
}

.content-body-wysiwyg table th,
.content-body-wysiwyg .data-table th,
.content-body-wysiwyg table thead th,
.content-body-wysiwyg .data-table thead th {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 14px 18px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  white-space: nowrap;
  vertical-align: middle;
}

.content-body-wysiwyg table td,
.content-body-wysiwyg .data-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  border-top: none;
  border-left: none;
  border-right: none;
  vertical-align: middle;
  background-color: #ffffff;
}

.content-body-wysiwyg table td:first-child,
.content-body-wysiwyg .data-table td:first-child {
  font-weight: 600;
  color: #0f172a;
}

.content-body-wysiwyg table tbody tr:last-child td,
.content-body-wysiwyg .data-table tbody tr:last-child td {
  border-bottom: none;
}

.content-body-wysiwyg table tbody tr:hover td,
.content-body-wysiwyg .data-table tbody tr:hover td {
  background-color: #f8fafc;
}

/* ==========================================================================
   Content Page WYSIWYG: Media Blocks & Responsive Images (Bez duplicitních rámečků)
   ========================================================================== */
.content-body-wysiwyg img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.content-media-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.25rem;
  margin-top: 2rem;
  margin-bottom: 2.25rem;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0 !important;
  overflow: visible;
}

.content-media-block .content-media-thumb {
  flex: 0 0 42%;
  max-width: 42%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.content-media-block .content-media-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 13px;
  transition: transform 0.35s ease;
}

.content-media-block:hover .content-media-thumb img {
  transform: scale(1.03);
}

.content-media-block .content-media-content {
  flex: 1 1 58%;
}

.content-media-block .content-media-content h3 {
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
}

.content-media-block .content-media-content p {
  margin-bottom: 0.75rem;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.65;
}

.content-media-block .content-media-content p:last-child {
  margin-bottom: 0;
}

/* Modifier: Image on Right */
.content-media-block--right {
  flex-direction: row-reverse;
}

/* Full Width Image / Banner */
.content-full-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.content-full-image img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.content-full-image figcaption,
.content-image-caption {
  margin-top: 0.75rem;
  font-size: 14px;
  color: #64748b;
  text-align: center;
  font-style: normal;
}

/* Standard WP Image Alignments inside WYSIWYG */
.content-body-wysiwyg .alignleft {
  float: left;
  margin: 0.5rem 1.75rem 1.25rem 0;
  max-width: 45%;
  border-radius: 10px;
}

.content-body-wysiwyg .alignright {
  float: right;
  margin: 0.5rem 0 1.25rem 1.75rem;
  max-width: 45%;
  border-radius: 10px;
}

.content-body-wysiwyg .aligncenter {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  border-radius: 12px;
}

.content-body-wysiwyg .alignfull {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  margin: 1.75rem 0;
}

@media (max-width: 767.98px) {
  .content-media-block,
  .content-media-block--right {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .content-media-block .content-media-thumb {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .content-media-block .content-media-thumb img {
    height: 200px;
  }
  .content-media-block .content-media-content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .content-body-wysiwyg .alignleft,
  .content-body-wysiwyg .alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 1rem 0;
  }
}

/* ==========================================================================
   Padding Standardization (3rem -> 2rem)
   ========================================================================== */
.p-2rem {
  padding: 2rem !important;
}

.p-md-2rem {
  padding: 2rem !important;
}

@media (max-width: 767.98px) {
  .p-md-2rem {
    padding: 1.5rem !important;
  }
}

/* Override Bootstrap 3rem padding utilities to 2rem */
.p-5,
.p-sm-5,
.p-md-5,
.p-lg-5,
.p-xl-5,
.p-xxl-5 {
  padding: 2rem !important;
}

.py-5,
.py-sm-5,
.py-md-5,
.py-lg-5,
.py-xl-5,
.py-xxl-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.px-5,
.px-sm-5,
.px-md-5,
.px-lg-5,
.px-xl-5,
.px-xxl-5 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Card padding standardization */
.post-header-card,
.post-content-card,
.aktuality-header-card,
.sitemap-header-card {
  padding: 2rem !important;
}

@media (max-width: 576px) {
  .post-header-card,
  .post-content-card,
  .aktuality-header-card,
  .sitemap-header-card {
    padding: 1.25rem !important;
  }
}

/* ==========================================================================
   Typography: Paragraphs (16px & readable #1e293b color)
   ========================================================================== */
p,
.prose-text,
.post-prose p,
.content-body-wysiwyg p,
.page-main-desc,
.rozcestnik-subtitle,
.doc-header-perex,
.aktuality-header-desc,
.sitemap-main-desc,
.dok-welcome-desc,
.section-desc-h3 {
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
}

/* Ensure paragraph links maintain distinct contrast */
.content-body-wysiwyg p a,
.post-prose p a,
.prose-text a {
  color: var(--color-corporate-blue, #006098);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-body-wysiwyg p a:hover,
.post-prose p a:hover,
.prose-text a:hover {
  color: var(--color-petrol-hover, #0f3c52);
}


/* ==========================================================================
   Button Hover Text Color Fix: Ensure crisp white text on all blue buttons
   ========================================================================== */
.card-elearning-btn,
.card-elearning-btn:hover,
.card-elearning-btn:focus,
.card-elearning-btn:active,
.btn-primary-new,
.btn-primary-new:hover,
.btn-primary-new:focus,
.btn-primary-new:active,
.btn-dok-primary,
.btn-dok-primary:hover,
.btn-dok-primary:focus,
.btn-dok-primary:active,
.btn-login,
.btn-login:hover,
.btn-login:focus,
.btn-login:active,
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #ffffff !important;
}

.card-elearning-btn *,
.card-elearning-btn:hover *,
.btn-primary-new *,
.btn-primary-new:hover *,
.btn-dok-primary *,
.btn-dok-primary:hover *,
.btn-login *,
.btn-login:hover *,
.btn-primary *,
.btn-primary:hover * {
  color: #ffffff !important;
}

/* ==========================================================================
   WordPress Pagination (.page-numbers)
   ========================================================================== */
ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0.5rem 0;
}

ul.page-numbers li {
  margin: 0;
}

ul.page-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  background-color: #ffffff;
  border: 1px solid var(--color-border-card, #e2e8f0);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul.page-numbers .page-numbers:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--color-corporate-blue, #006098);
}

ul.page-numbers .page-numbers.current {
  background-color: var(--color-corporate-blue, #006098);
  border-color: var(--color-corporate-blue, #006098);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 96, 152, 0.25);
}

ul.page-numbers .page-numbers.dots {
  background: transparent;
  border: none;
  color: #94a3b8;
}

/* ==========================================================================
   Primary Link & Text Color Override: Replace Bootstrap light blue (#0d6efd)
   with Corporate Blue (var(--color-corporate-blue, #006098))
   ========================================================================== */
a.text-primary,
a.link-primary,
a[class*="text-primary"],
.text-primary a,
.link-primary a,
a.text-decoration-none.text-primary,
.text-primary,
.link-primary {
  color: var(--color-corporate-blue, #006098) !important;
}

a.text-primary:hover,
a.text-primary:focus,
a.link-primary:hover,
a.link-primary:focus,
a[class*="text-primary"]:hover,
a[class*="text-primary"]:focus,
.text-primary a:hover,
.text-primary a:focus,
.link-primary a:hover,
.link-primary a:focus {
  color: var(--color-petrol-hover, #0f3c52) !important;
}

/* General anchor elements default to corporate blue */
a {
  color: var(--color-corporate-blue, #006098);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-petrol-hover, #0f3c52);
}

/* ==========================================================================
   Mapa stránek: Sitemap Grid & Card Filtering
   ========================================================================== */
.sitemap-col {
  display: flex !important;
}

.sitemap-col.sitemap-col--hidden,
.sitemap-col[style*="display: none"] {
  display: none !important;
}

.sitemap-item--matched {
  background-color: #f0f7ff !important;
  border-left: 3px solid var(--color-corporate-blue, #006098) !important;
  border-radius: 6px;
}

/* ==========================================================================
   Search Inputs: Remove Focus Frames, Blue Glow Rings & Outlines
   ========================================================================== */
/* 1. All search bars and input wrappers */
.hero-search-bar:focus-within,
.header-search:focus-within,
.tel-search-input-group:focus-within,
.category-search-wrapper .input-group:focus-within,
.dok-table-search-box .input-group:focus-within,
.sitemap-search-wrapper .input-group:focus-within,
.sitemap-search-wrapper:focus-within {
  box-shadow: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
}

/* 2. All search inputs when active/focused */
.hero-search-input:focus,
.hero-search-input:active,
.header-search-input:focus,
.header-search-input:active,
.category-search-input:focus,
.category-search-input:active,
.tel-search-input:focus,
.tel-search-input:active,
.table-search-input:focus,
.table-search-input:active,
#sitemapFilterInput:focus,
#sitemapFilterInput:active,
#categoryDocSearch:focus,
#categoryDocSearch:active,
#dokSearchInput:focus,
#dokSearchInput:active,
#docSearchInput:focus,
#docSearchInput:active,
#telSearchInput:focus,
#telSearchInput:active,
#portalSearchInput:focus,
#portalSearchInput:active,
#heroSearchInput:focus,
#heroSearchInput:active,
.dok-table-search-box input:focus,
.dok-table-search-box input:active,
.sitemap-search-wrapper input:focus,
.sitemap-search-wrapper input:active,
input[type="search"]:focus,
input[type="search"]:active,
.form-control[type="search"]:focus,
.form-control[type="search"]:active,
input[class*="search"]:focus,
input[class*="search"]:active,
input[id*="search" i]:focus,
input[id*="search" i]:active,
input[id*="filter" i]:focus,
input[id*="filter" i]:active {
  box-shadow: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
}

/* 3. Keep clean, neutral borders without bright blue rings */
#sitemapFilterInput:focus,
#sitemapFilterInput:active {
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  outline: none !important;
}

.category-search-input:focus,
.category-search-input:active,
#categoryDocSearch:focus,
#categoryDocSearch:active,
.dok-table-search-box input:focus,
.dok-table-search-box input:active {
  border-color: #dee2e6 !important;
  box-shadow: none !important;
  outline: none !important;
}

.category-search-wrapper .input-group:focus-within .input-group-text,
.dok-table-search-box .input-group:focus-within .input-group-text {
  border-color: #dee2e6 !important;
}

/* ==========================================================================
   NOTIFICATION BELL & FLYOUT SYSTEM
   ========================================================================== */
.notification-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notification-flyout {
  position: absolute;
  top: calc(100% + 10px);
  right: -6px;
  width: 390px;
  max-width: calc(100vw - 28px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: notifFlyoutIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
}

.notification-flyout.d-none {
  display: none !important;
}

@keyframes notifFlyoutIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notification-flyout-header {
  background: #ffffff;
}

.notification-clear-all {
  color: #64748b !important;
  font-size: 12.5px !important;
  transition: color 0.15s ease;
  cursor: pointer;
}

.notification-clear-all:hover {
  color: #dc2626 !important;
}

.notification-flyout-body {
  max-height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.notification-flyout-body::-webkit-scrollbar {
  width: 5px;
}

.notification-flyout-body::-webkit-scrollbar-track {
  background: transparent;
}

.notification-flyout-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.notification-item {
  position: relative;
  border: 1px solid #f1f5f9;
  background-color: #ffffff;
  transition: background-color 0.15s ease, opacity 0.2s ease, transform 0.2s ease, max-height 0.22s ease, margin 0.2s ease, padding 0.2s ease;
}

.notification-item:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.notification-item.dismissing {
  opacity: 0 !important;
  transform: translateX(24px) !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  overflow: hidden !important;
}

.notification-item-link {
  color: inherit;
  min-width: 0;
}

.notification-item-link:hover .notification-title {
  color: var(--color-corporate-blue, #006098) !important;
}

.notification-type-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.notification-type-pill--doc {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.notification-type-pill--news {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.notification-category {
  font-size: 11px;
  color: #64748b;
}

.notification-time {
  font-size: 11px;
  color: #94a3b8;
  flex-shrink: 0;
}

.notification-title {
  font-size: 13px;
  line-height: 1.4;
  color: #1e293b;
  transition: color 0.15s ease;
}

.notification-item-dismiss {
  color: #94a3b8 !important;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.notification-item-dismiss:hover {
  color: #dc2626 !important;
  background-color: #fee2e2;
}

.notification-empty-state {
  background-color: #fafbfc;
}

@media (max-width: 576px) {
  .notification-flyout {
    width: calc(100vw - 24px);
    right: -45px;
  }
}













