/*!
Theme Name: Dialab
Theme URI: dialab.rs
Author: Bogoljub Gojkovic
Author URI: #
Description: Custom WP theme for 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: 
Tags: Custom build WP Theme
*/

/* =========================================
   CSS Reset
   ========================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  color: #252122;
  font-size: 18px;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* =========================================
   Base Styles
   ========================================= */
body {
  font-weight: 200;
  background-color: #faf8f9;
}
.tel a {
  border: 1px solid #c4112f;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 300;
  display: inline-block;
}
.tel a:hover {
  background: #c4112f;
  color: #fff;
}
header a {
  font-weight: 400;
  text-transform: uppercase;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

ul {
  margin: 0;
}

.screen-reader-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.banner {
  border-radius: 20px;
  height: calc(100vh - 40px);
  margin: 20px;
  min-height: 700px;
}

body:not(.home) #page {
  margin: 20px;
  border-radius: 20px;
  overflow: clip;
  background: #fff;
}

.current-menu-item a {
  font-weight: 400;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

h1 {
}

header .menu ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* ── Dropdown sub-menu (1 level) ──────────────────────────────────────────── */
header .menu li {
  position: relative;
}

header .menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 0 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

header .menu li:hover > .sub-menu,
header .menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

header .menu .sub-menu li {
  position: static;
  width: 100%;
}

header .menu .sub-menu a {
  display: block;
  padding: 2px 20px 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #252122;
  text-transform: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

header .menu .sub-menu a:hover {
  color: #c4112f;
  background-color: transparent;
}

header .menu .sub-menu .current-menu-item a {
  color: #c4112f;
  font-weight: 500;
}

/* Arrow indicator on parent item */
header .menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 5px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
  transition: transform 0.2s;
}

header .menu .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* Dark hero variant */
.has-dark-hero header .menu .sub-menu {
  background: #2e2829;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.has-dark-hero header .menu .sub-menu a {
  color: #f0ecec;
}
.has-dark-hero header .menu .sub-menu a:hover {
  color: #fff;
}

.container-fluid {
  --bs-gutter-x: 3rem;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1620px;
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (min-width: 1600px) {
  .container {
    padding-left: 80px;
    padding-right: 80px;
  }
}
/* =========================================
   Quick Links Grid
   ========================================= */
.quick-links .container {
  position: relative;
  width: 75vw;
  max-width: 1200px;
}

.quick-links-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-56%);
  z-index: 1;
}

/* First 6 cards: 3 per row (each spans 2 of 6 columns) */
.quick-link-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #c4112f;
  border-radius: 14px;
  padding: 20px 20px 16px;
  min-height: 110px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(196, 17, 47, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Last 2 cards: 2 per row (each spans 3 of 6 columns) */
.quick-link-card--wide {
  grid-column: span 3;
}

.quick-link-card:hover {
  background: #a50e28;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196, 17, 47, 0.45);
  color: #fff;
}

.quick-link-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.quick-link-arrow {
  align-self: flex-end;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.quick-link-arrow svg {
  width: 32px;
  height: 32px;
  display: block;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-link-card,
  .quick-link-card--wide {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Lab Categories
   ========================================= */
.lab-categories {
  position: relative;
  padding-top: 250px;
}

.lab-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.lab-category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 3 / 4;
  background: #e8e6e7;
}

.lab-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lab-category-card:hover img {
  transform: scale(1.04);
}

.lab-category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 24px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, transparent 100%);
  pointer-events: none;
}

.lab-category-label {
  color: #252122;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 300;
  line-height: 110%;
  text-align: center;
  display: block;
}

.lab-category-label span {
  font-weight: 500;
}

@media (max-width: 768px) {
  .lab-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lab-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Global Search
   ========================================= */
.global-search {
  position: relative;
  margin-top: 50px;
  max-width: 620px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c4112f;
  border-radius: 50px;
  padding: 14px 24px;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.search-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(196, 17, 47, 0.12);
}

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

#global-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-weight: 300;
  color: #333;
}

#global-search-input::placeholder {
  color: #252122;
}

.search-results-block {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  z-index: 100;
}

.search-results-block[hidden] {
  display: none;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s ease;
  text-decoration: none;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.is-active {
  background: #f4f2f3;
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f4f2f3;
}

.search-result-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #c4112f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.pkg-card-header p {
  margin-bottom: 0;
}

.search-result-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-type {
  font-size: 12px;
  color: #c4112f;
  font-weight: 400;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-no-results,
.search-loading {
  padding: 18px 20px;
  font-size: 14px;

  text-align: center;
}

.search-view-all {
  display: block;
  padding: 12px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #c4112f;
  background: #eee;
  border-top: 1px solid #f0e0e3;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-view-all:hover {
  background: #fbe4e8;
}

/* =========================================
   Search Results Page (search.php)
   ========================================= */
.search-hero {
  padding: 250px 0 60px;
  background: #f4f2f3;
}

.search-hero-inner {
  max-width: 680px;
}

.search-hero-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 300;
  margin-bottom: 28px;
  color: #252122;
}

.search-hero-title strong {
  font-weight: 600;
}

.search-page-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #c4112f;
  border-radius: 50px;
  padding: 12px 12px 12px 24px;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

.search-page-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(196, 17, 47, 0.12);
}

.search-page-input-wrap input[type="search"] {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 15px;
  font-weight: 300;
  color: #252122;
  min-width: 0;
}

.search-page-input-wrap input[type="search"]::placeholder {
  color: #252122;
}

.search-page-input-wrap button {
  background: #c4112f;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.search-page-input-wrap button:hover {
  background: #a50e28;
}

.search-results-page {
  padding: 48px 0 80px;
}

.search-count {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
}

.search-results-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-result-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: #252122;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.search-result-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

.search-result-card-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.search-result-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-card-body {
  flex: 1;
  min-width: 0;
}

.search-result-card-type {
  font-size: 11px;
  font-weight: 500;
  color: #c4112f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.search-result-card-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-card-excerpt {
  font-size: 13px;
  color: #777;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-card-arrow {
  font-size: 20px;
  color: #c4112f;
  flex-shrink: 0;
  opacity: 0;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.search-result-card:hover .search-result-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.search-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.search-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 400;
  color: #252122;
  background: #fff;
  transition:
    background 0.15s,
    color 0.15s;
  text-decoration: none;
}

.search-pagination .page-numbers.current,
.search-pagination .page-numbers:hover {
  background: #c4112f;
  color: #fff;
}

.search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 20px;
  text-align: center;
  color: #252122;
}

.search-empty-hint {
  font-size: 14px !important;
  color: #999;
}

/* =========================================
   ChatBot Tab
   ========================================= */
.chatbot-tab {
  position: fixed;
  right: -50px;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #c4112f;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 20px 16px;
  cursor: pointer;
  z-index: 999;
  box-shadow: -4px 0 24px rgba(196, 17, 47, 0.3);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    right 0.2s ease,
    transform 0.65s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.chatbot-tab.is-visible {
  right: 30px;
  transform: translateY(-50%) translateX(0);
}

.chatbot-tab:hover {
  background: #a50e28;
  box-shadow: -6px 0 32px rgba(196, 17, 47, 0.4);
}

.chatbot-tab svg {
  flex-shrink: 0;
}

.chatbot-tab span {
  font-weight: 600;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* =========================================
   Symptom Search Section
   ========================================= */
.simptoms {
  padding: 90px 0 80px;
}

.simptoms-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.simptoms-header-text {
  flex: 1;
  min-width: 0;
}

.simptoms-title {
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #252122;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.simptoms-beta {
  font-size: 14px;
  font-weight: 500;
  color: #c4112f;
  background: rgba(196, 17, 47, 0.08);
  border-radius: 50px;
  padding: 5px 12px;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: 0;
}

.simptoms-note {
  font-weight: 300;
  color: #666;
  max-width: 840px;
  line-height: 1.6;
  margin: 0;
}

.simptoms-note strong {
  font-weight: 600;
  color: #252122;
}

.simptoms-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c4112f;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 24px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.simptoms-toggle:hover {
  background: #a50e28;
}

.simptoms-toggle svg {
  transition: transform 0.25s ease;
}

.simptoms-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.simptoms-panel {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.simptoms-panel[hidden] {
  display: none;
}

.simptoms-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 16px;
  max-height: 200px;
  overflow: auto;
}

.simptom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.15s ease;
  user-select: none;
}

.simptom-item:hover {
  background: #f4f2f3;
}

.simptom-check {
  display: none;
}

.simptom-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d0cece;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.simptom-check:checked ~ .simptom-dot {
  background: #c4112f;
  border-color: #c4112f;
}

.simptom-name {
  font-weight: 300;
}

.simptom-check:checked ~ .simptom-dot ~ .simptom-name {
  font-weight: 500;
}

.simptoms-empty {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 20px 0;
}

/* Results panel */
.simptoms-results-panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  min-height: 120px;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.simptoms-results-label {
  font-weight: 400;
  margin-bottom: 16px;
}

.simptoms-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.simptom-result-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f4f2f3;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: #252122;
  transition:
    transofrm 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.simptom-result-card:hover {
  transform: translateY(-3px);
  color: #252122;
}
.analiza-card.analiza-card--full {
  border-color: #c4112f;
}
.simptom-result-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.simptom-result-opis {
  font-size: 15px;
  color: #777;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.simptom-result-cena {
  font-size: 14px;
  font-weight: 500;
  color: #c4112f;
  margin-top: auto;
}

.simptoms-results-placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.simptoms-results-placeholder-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.simptoms-results-placeholder-item {
  height: 80px;
  background: #f4f2f3;
  border-radius: 12px;
  opacity: 0.5;
}

.simptoms-no-results {
  font-size: 14px;
  color: #999;
  padding: 20px 0;
}

@media (max-width: 992px) {
  .simptoms-list,
  .simptoms-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .simptoms-header {
    flex-direction: column;
  }
  .simptoms-list,
  .simptoms-results-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Single Analiza
   ========================================= */
.analiza-single {
  padding: 270px 0 80px;
  background: #f4f2f3;
  min-height: 100vh;
}

.analiza-breadcrumb {
  font-size: 14px;
  font-weight: 400;
  color: #888;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.analiza-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.15s;
}

.analiza-breadcrumb a:hover {
  color: #c4112f;
}

.analiza-breadcrumb-sep {
  color: #ccc;
}

.analiza-title-row {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.has-dark-hero .katalog-title,
.has-dark-hero .katalog-subtitle {
  color: #fff;
}

.analiza-title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 600;
  color: #252122;
  margin: 0;
}

.analiza-price {
  font-weight: 600;
  color: #c4112f;
  background: rgba(196, 17, 47, 0.08);
  border-radius: 50px;
  padding: 4px 16px;
}

/* ── Cards ─────────────────────────────── */
.analiza-card {
  position: relative;
  background: #fff;
  border: 1px solid #c4112f36;
  border-radius: 16px;
  padding: 45px 40px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.analiza-card--full {
  margin-bottom: 24px;
}

.analiza-card-label {
  display: block;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.analiza-card-body {
  font-weight: 300;
  line-height: 1.5;
  white-space: pre-line;
}

.blog-hero + .container {
  padding-top: 80px;
}

.analiza-card-watermark {
  position: absolute;
  bottom: 15px;
  right: 15px;
  opacity: 0.07;
  pointer-events: none;
}

.analiza-card-watermark svg {
  width: 64px;
  height: 64px;
}

/* ── 2-col row ──────────────────────────── */
.analiza-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* ── Mixed row (accordions + card) ─────── */
.analiza-row-mixed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}

.analiza-accordions,
.analiza-uzroci {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Accordion ──────────────────────────── */
.analiza-accordion {
  border-radius: 14px;
  overflow: hidden;
}

.analiza-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid rgba(196, 17, 47, 0.18);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    border-radius 0.2s ease;
}

.analiza-accordion-btn[aria-expanded="true"] {
  background: #c4112f;
  color: #fff;
  border-color: #c4112f;
  border-radius: 14px 14px 0 0;
}

.acc-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #c4112f;
}

.analiza-accordion-btn[aria-expanded="true"] .acc-arrow {
  transform: rotate(180deg);
  color: #fff;
}

.analiza-accordion-body {
  background: #fff;
  border: 1px solid rgba(196, 17, 47, 0.18);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 300;
  color: #444;
  line-height: 1.7;
  white-space: pre-line;
}

.analiza-accordion-body[hidden] {
  display: none;
}

/* ── Simptomi list ───────────────────────── */
.analiza-simptomi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.analiza-simptomi-list li {
  font-weight: 300;
  padding-left: 14px;
  position: relative;
}

.analiza-simptomi-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #c4112f;
  border-radius: 50%;
}

/* ── Category block ─────────────────────── */
.analiza-category-block {
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px 48px;
  border: 1px solid rgba(196, 17, 47, 0.1);
  text-align: center;
}

.analiza-category-label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  text-align: left;
}

.analiza-category-link {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  color: #252122;
  text-decoration: none;
  transition: color 0.2s ease;
}

.analiza-category-link:hover {
  color: #c4112f;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .analiza-row-2,
  .analiza-row-mixed {
    grid-template-columns: 1fr;
  }
}

/* ── Category block list ─────────────────── */
.analiza-category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.analiza-category-all {
  font-weight: 500;
  color: #c4112f;
  text-decoration: none;
  transition: opacity 0.15s;
}

.analiza-category-all:hover {
  opacity: 0.75;
}

.analiza-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.analiza-category-list li {
  border-radius: 12px;
}
.analiza-category-list li:nth-child(2n) {
  background: #f7f6f6;
}

.analiza-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #252122;
  transition: background 0.15s ease;
}

.analiza-category-item:hover {
  background: #f4f2f3;
  color: #252122;
}

.analiza-category-item-title {
  flex: 1;
  font-weight: 400;
  text-align: left;
}

.analiza-category-item-cena {
  font-weight: 600;
  color: #c4112f;
  white-space: nowrap;
}

.analiza-category-item-arrow {
  color: #ccc;
  flex-shrink: 0;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.analiza-category-item:hover .analiza-category-item-arrow {
  color: #c4112f;
  transform: translateX(3px);
}

.analiza-category-empty {
  color: #999;
  padding: 12px 0;
}

.simptoms-results-hint {
  color: #999;
  font-weight: 300;
  font-size: 14px;
}

/* =========================================
   Single Simptom
   ========================================= */
.simptom-single-page {
  background: #f4f2f3;
  min-height: 100vh;
  padding-bottom: 80px;
}

.simptom-single-hero {
  background: radial-gradient(circle at 92% 60%, rgba(196, 17, 47, 0.09) 0%, transparent 50%), radial-gradient(circle at 80% 10%, rgba(196, 17, 47, 0.05) 0%, transparent 40%), linear-gradient(150deg, #fff 0%, #fdf3f4 100%);
  padding: 250px 0 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.simptom-single-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.1);
  pointer-events: none;
}

.simptom-single-hero::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.07);
  pointer-events: none;
}

.simptom-single-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.simptom-single-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4112f;
  margin-bottom: 10px;
}

.simptom-single-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: #252122;
  margin-bottom: 12px;
  line-height: 1.15;
}

.simptom-single-subtitle {
  font-size: 24px;
  font-weight: 300;
}

.simptom-single-subtitle strong {
  color: #c4112f;
  font-weight: 600;
}

.simptom-single-icon {
  color: rgba(196, 17, 47, 0.15);
  flex-shrink: 0;
}

.simptom-single-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  transition: color 0.15s ease;
}

.simptom-single-back:hover {
  color: #c4112f;
}

@media (max-width: 640px) {
  .simptom-single-icon {
    display: none;
  }
}

/* =========================================
   Home Map
   ========================================= */
.home-map {
  padding: 20px 0 0;
}
#home-map {
  overflow: hidden;
}
.home-map-header {
  margin-bottom: 28px;
}

.home-map-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4112f;
  margin-bottom: 6px;
}

.home-map-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  color: #252122;
  line-height: 1.2;
}

.home-map-body {
  position: relative;
}

#dialab-map {
  overflow: hidden;
  border-radius: 30px;
}

#dialab-map {
  width: 100%;
  height: 520px;
}

.home-map-slider-outer {
  position: relative;
  z-index: 2;
  margin-top: -90px;
  padding-bottom: 80px;
}

.home-map-slider-wrap {
  position: relative;
  padding: 0 52px;
}

.home-map-swiper {
  overflow: hidden;
  padding: 25px 0 50px 0 !important;
}

.home-map-swiper .swiper-slide {
  height: auto;
}

.home-map-swiper .map-location-card {
  width: 100%;
}

.home-map-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #252122;
  padding: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.home-map-arrow:hover {
  background: #c4112f;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: 0 4px 20px rgba(196, 17, 47, 0.3);
}

.home-map-arrow--prev {
  left: 0;
}

.home-map-arrow--next {
  right: 0;
}

.home-map-arrow.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.map-location-card {
  flex-shrink: 0;
  width: 240px;
  height: 260px;
  background: #c4112f;
  border-radius: 14px;
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(196, 17, 47, 0.25);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    height 0.3s ease;
}

.map-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(196, 17, 47, 0.4);
}
.map-location-card.is-expanded {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(196, 17, 47, 0.4);
}

.map-location-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  transition: opacity 0.2s ease;
}

.map-location-card.is-expanded .map-location-face {
  opacity: 0;
  pointer-events: none;
}

.map-location-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.map-location-city {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-location-details {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  height: 100%;
}

.map-location-card.is-expanded .map-location-details {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  inset: auto;
}

.map-location-details-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.map-location-pin {
  color: #c4112f;
  flex-shrink: 0;
}

.map-location-details-city {
  font-size: 15px;
  font-weight: 700;
  color: #252122;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.map-location-address {
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.4;
  margin-bottom: 10px;
}

.map-location-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
}

.map-location-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #c4112f;
}

.map-location-phone,
.map-location-email {
  font-size: 12px;
  font-weight: 300;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.3;
}

.map-location-phone a,
.map-location-email {
  color: #444;
  text-decoration: none;
  transition: color 0.15s;
}

.map-location-phone a:hover,
.map-location-email:hover {
  color: #c4112f;
}

.map-location-phone-label {
  font-weight: 500;
  color: #252122;
}

.map-location-hours p {
  font-size: 12px;
  font-weight: 300;
  color: #444;
  margin-bottom: 4px;
  line-height: 1.3;
}

.map-location-hours span {
  font-weight: 500;
  color: #252122;
}

/* Info window inside the map */
.map-info-window {
  padding: 4px 2px;
  min-width: 200px;
  font-family: "Montserrat", sans-serif;
}

.map-info-city {
  font-size: 14px;
  font-weight: 600;
  color: #252122;
  margin-bottom: 3px;
}

.map-info-address {
  font-size: 12px;
  font-weight: 300;

  margin-bottom: 8px;
  line-height: 1.4;
}

.map-info-row {
  margin-top: 6px;
}

.map-info-phone,
.map-info-email {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
}

.map-info-phone a,
.map-info-email {
  text-decoration: none;
}

.map-info-label {
  font-weight: 500;
}

.map-info-hours {
  margin-top: 6px;
  border-top: 1px solid #f0eeee;
  padding-top: 6px;
}

.map-info-hours p {
  font-size: 12px;
  font-weight: 300;

  line-height: 1.6;
}

.map-info-hours span {
  font-weight: 500;
}

@media (max-width: 640px) {
  #dialab-map {
    height: 380px;
  }
  .home-map-slider-outer {
    margin-top: -48px;
  }
  .home-map-slider-wrap {
    padding: 0 40px;
  }
  .home-map-arrow {
    width: 36px;
    height: 36px;
  }
}

/* =========================================
   Home Blog
   ========================================= */
.home-blog {
  padding: 100px 0 100px;
}

.home-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.loc-numb {
  font-weight: 700;
  font-size: 60px;
  position: absolute;
  color: #fff;
  right: 7px;
  bottom: 0;
  line-height: 1;
  display: inline-block;
}

.home-blog-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4112f;
  margin-bottom: 6px;
}

.rounded-container {
  padding: 40px 30px;
  border-radius: 25px;
  background-color: #fff;
}

.home-blog-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  color: #252122;
  line-height: 1.2;
}

.home-blog-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #c4112f;
  white-space: nowrap;
  transition: gap 0.15s ease;
}

.home-blog-all:hover {
  gap: 8px;
}

/* ── Shared card ── */
.home-blog-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #252122;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.home-blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-blog-card:hover img {
  transform: scale(1.03);
}

.home-blog-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 64px 24px 0px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
}

.home-blog-card-meta {
  font-size: 24px;
  font-weight: 300;
  color: #252122;
  line-height: 1.4;
}

.home-blog-card-meta strong {
  font-weight: 600;
}

/* ── Featured row (2 large) ── */
.home-blog-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.home-blog-featured .home-blog-card {
  aspect-ratio: 16 / 9;
}

/* ── Small row (4 cards) ── */
.home-blog-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.home-blog-small .home-blog-card {
  aspect-ratio: 4 / 3;
}

.home-blog-small .home-blog-card-overlay {
  padding: 48px 14px 0px;
}

.home-blog-small .home-blog-card-meta {
  font-size: 18px;
}

@media (max-width: 992px) {
  .home-blog-small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-blog-featured {
    grid-template-columns: 1fr;
  }
  .home-blog-small {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-blog-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================
   Katalog Analiza (archive-analize.php)
   ========================================= */
.katalog-page {
  min-height: 100vh;
  padding-bottom: 80px;
}

.katalog-hero {
  background: linear-gradient(to top, #fff 0%, transparent 40px), radial-gradient(circle at 92% 60%, rgba(196, 17, 47, 0.09) 0%, transparent 50%), radial-gradient(circle at 80% 10%, rgba(196, 17, 47, 0.05) 0%, transparent 40%), linear-gradient(150deg, #fff 0%, #fdf3f4 100%);
  padding: 250px 0 100px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.hero-cenovnik {
  background-color: #eee;
  padding: 250px 0 100px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.katalog-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.1);
  pointer-events: none;
}

.katalog-hero::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.07);
  pointer-events: none;
}

.katalog-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: #252122;
  margin-bottom: 8px;
}

.katalog-subtitle {
  font-size: 24px;
  font-weight: 300;
  color: #888;
  margin-bottom: 28px;
}

.katalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #c4112f;
  border-radius: 50px;
  padding: 14px 24px;
  max-width: 520px;
  transition: box-shadow 0.2s ease;
}

.katalog-search-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(196, 17, 47, 0.12);
}

.katalog-search-wrap svg {
  color: #000;
  flex-shrink: 0;
}

#katalog-search {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-weight: 300;
  color: #252122;
}

#katalog-search::placeholder {
  color: #252122;
}

.katalog-search-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #888;
  transition:
    background 0.15s,
    color 0.15s;
}

.katalog-search-clear:hover {
  background: rgba(196, 17, 47, 0.08);
  color: #c4112f;
}

/* ── Filter bar & panel ───────────────────── */
.katalog-filter-bar {
  margin: 80px 0 0;
}

.katalog-filter-panel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c4112f;
  border: 1px solid #c4112f;
  border-radius: 50px;
  padding: 14px 20px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: 0.15s;
}

.katalog-filter-panel-toggle:hover,
.katalog-filter-panel-toggle[aria-expanded="true"] {
  border-color: #c4112f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.katalog-filter-active-badge {
  background: #fff;
  color: #c4112f;
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.katalog-filter-active-badge[hidden] {
  display: none;
}

.katalog-filter-panel-chevron {
  transition: transform 0.25s ease;
}

.katalog-filter-panel-toggle[aria-expanded="true"] .katalog-filter-panel-chevron {
  transform: rotate(180deg);
}

.katalog-filter-panel {
  margin-top: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0eeee;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.katalog-filter-panel[hidden] {
  display: none;
}

.katalog-filter-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.katalog-filter-section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin: 0;
}

/* ── Filters ──────────────────────────────── */
.katalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.katalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e0dede;
  border-radius: 50px;
  padding: 10px 14px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.katalog-filter-btn:hover {
  border-color: #c4112f;
  color: #c4112f;
}

.katalog-filter-btn.is-active {
  background: #c4112f;
  border-color: #c4112f;
  color: #fff;
}

.katalog-filter-btn.is-active .katalog-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.katalog-filter-count {
  background: #f0eeee;
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  transition:
    background 0.15s,
    color 0.15s;
}

/* ── Count ──────────────────────────────────── */
.katalog-count {
  color: #aaa;
  font-weight: 300;
  margin-top: 28px;
  margin-bottom: 20px;
}

/* ── Grid ───────────────────────────────────── */
.katalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.katalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #252122;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(196, 17, 47, 0.1);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.katalog-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: #252122;
}

.katalog-card[hidden] {
  display: none;
}

.katalog-card-thumb {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
}

.katalog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.katalog-card:hover .katalog-card-thumb img {
  transform: scale(1.04);
}

.katalog-card-body {
  padding: 20px 20px 12px;
  flex: 1;
}

.katalog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.katalog-card-cat {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #c4112f;
  text-transform: uppercase;
}

.katalog-card-sifra {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #888;
  background: #f0eeed;
  border-radius: 100px;
  padding: 2px 8px;
  letter-spacing: 0.03em;
}

.katalog-card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #252122;
}

.katalog-card-opis {
  font-size: 15px;
  font-weight: 300;
  color: #777;
  line-height: 1.5;
}

.katalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 16px;
  border-top: 1px solid #f4f2f3;
}

.katalog-card-cena {
  font-weight: 600;
  color: #c4112f;
}

.katalog-card-arrow {
  color: #ccc;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
  display: flex;
}

.katalog-card:hover .katalog-card-arrow {
  color: #c4112f;
  transform: translateX(3px);
}

.katalog-no-results {
  color: #999;
  font-weight: 300;
  padding: 40px 0;
  text-align: center;
}

@media (max-width: 992px) {
  .katalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .katalog-grid {
    grid-template-columns: 1fr;
  }
  .katalog-filters {
    gap: 6px;
  }
}

/* ── Katalog symptom filter ─────────────── */

.katalog-simptom-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e0dede;
  border-radius: 50px;
  padding: 14px 18px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.katalog-simptom-toggle:hover,
.katalog-simptom-toggle[aria-expanded="true"] {
  border-color: #c4112f;
  color: #c4112f;
}

.katalog-simptom-badge {
  background: #c4112f;
  color: #fff;
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}

.katalog-simptom-badge[hidden] {
  display: none;
}

.katalog-simptom-chevron {
  transition: transform 0.25s ease;
}

.katalog-simptom-toggle[aria-expanded="true"] .katalog-simptom-chevron {
  transform: rotate(180deg);
}

.katalog-simptom-panel {
  margin-top: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0eeee;
}

.katalog-simptom-panel[hidden] {
  display: none;
}

.katalog-simptom-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px 12px;
  margin-bottom: 12px;
}

.katalog-simptom-clear {
  font-size: 14px;
  font-weight: 500;
  color: #c4112f;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.katalog-simptom-clear:hover {
  opacity: 1;
}
.katalog-simptom-clear[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .katalog-simptom-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Default Page (page.php) ──────────────────────────────────────────────── */

/* Logo swap */
.logo-white {
  display: none;
  max-width: 208px;
}
.has-dark-hero .logo-default {
  display: none;
}
.has-dark-hero .logo-white {
  display: block;
}

/* Dark header items on dark hero */
.has-dark-hero header a {
  color: #fff;
}
.has-dark-hero .tel a {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.has-dark-hero .tel a:hover {
  background: #c4112f;
  border-color: #c4112f;
}
.has-dark-hero .current-menu-item a {
  /* color: #f7a0af; */
}

/* Shared hero base */
.page-default-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.page-default-hero .analiza-breadcrumb {
  margin-bottom: 20px;
}
.global-search-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #888;
  transition:
    background 0.15s,
    color 0.15s;
}

.global-search-clear:hover {
  background: rgba(196, 17, 47, 0.08);
  color: #c4112f;
}
/* Light variant — matches katalog-hero */
.page-default-hero--light {
  background: linear-gradient(to top, #fff 0%, transparent 40px), radial-gradient(circle at 92% 60%, rgba(196, 17, 47, 0.09) 0%, transparent 50%), radial-gradient(circle at 80% 10%, rgba(196, 17, 47, 0.05) 0%, transparent 40%), linear-gradient(150deg, #fff 0%, #fdf3f4 100%);
  padding: 250px 0 80px;
}

.page-default-hero--light::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.1);
  pointer-events: none;
}

.page-default-hero--light::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.07);
  pointer-events: none;
}

/* Media (image / video) background variant */
.page-default-hero--media {
  padding: 250px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-default-hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

.page-default-hero--media .container {
  position: relative;
  z-index: 2;
}

.page-default-hero--media .page-default-title {
  color: #fff;
}

.single .page-default-hero--media::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.6) 100%);
}

.single .page-default-hero--media .page-default-title,
.single .page-default-hero .analiza-breadcrumb {
  margin: 0 auto;
  text-align: center;
}

.page-default-hero--media .analiza-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-default-hero--media .analiza-breadcrumb span {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Dark variant */
.page-default-hero--dark {
  background: radial-gradient(ellipse at 20% 60%, rgba(196, 17, 47, 0.12) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(196, 17, 47, 0.08) 0%, transparent 55%), #252122;
  padding: 250px 0 80px;
}

.page-default-hero--dark::before,
.page-default-hero--dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #c4112f;
}

.page-default-hero--dark::before {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
}

.page-default-hero--dark::after {
  width: 240px;
  height: 240px;
  bottom: -60px;
  left: 8%;
}

.page-default-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

.page-default-hero--light .page-default-title {
  color: #252122;
}
.page-default-hero--dark .page-default-title {
  color: #fff;
}

.page-default-hero--light .analiza-breadcrumb a {
  color: #555;
}
.page-default-hero--light .analiza-breadcrumb span {
  color: #888;
}

.fs-20 {
  font-size: 20px;
}

.page-default-content {
  max-width: 1000px;
  margin: 60px auto 80px 0;
  line-height: 1.8;
  color: #3a3535;
}

.page-default-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #252122;
  margin: 2.5rem 0 0.75rem;
}

.page-default-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #252122;
  margin: 2rem 0 0.5rem;
}

.page-default-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #252122;
  margin: 2rem 0 0.5rem;
}

.page-default-content p {
  margin-bottom: 1.25rem;
}

.page-default-content ul,
.page-default-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-default-content li {
  margin-bottom: 0.4rem;
  list-style-type: disc;
}

.page-default-content a {
  color: #c4112f;
  text-decoration: underline;
}

.page-default-content a:hover {
  opacity: 0.8;
}

.page-default-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .page-default-hero {
    padding: 140px 0 48px;
  }
  .page-default-content {
    margin: 40px auto 60px;
  }
}

.page-default-row {
  margin-top: 60px;
  margin-bottom: 80px;
  align-items: stretch;
}

.page-default-content {
  max-width: 1000px;
  margin: 60px auto 80px 0;
}

.page-default-row .page-default-content {
  margin: 0;
  max-width: none;
}

.page-default-content--full {
  max-width: 1000px;
}

/* ── Page Sidebar ─────────────────────────────────────────────────────────── */

.page-sidebar {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.sidebar-widget-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #c4112f;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0eaea;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #252122;
  padding: 6px 0;
  border-bottom: 1px solid #f5f3f3;
  transition: color 0.15s;
}

.sidebar-links li:last-child a {
  border-bottom: none;
}

.sidebar-links li a svg {
  color: #c4112f;
  flex-shrink: 0;
}

.sidebar-links li a:hover {
  color: #c4112f;
}

.sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: #252122;
  line-height: 1.4;
  transition: color 0.15s;
}

.sidebar-post-item:hover {
  color: #c4112f;
}

.sidebar-post-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-categories li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 400;
  color: #252122;
  padding: 7px 0;
  border-bottom: 1px solid #f5f3f3;
  transition: color 0.15s;
}

.sidebar-categories li:last-child a {
  border-bottom: none;
}

.sidebar-categories li a:hover {
  color: #c4112f;
}

.sidebar-cat-count {
  font-size: 11px;
  font-weight: 600;
  background: #f5f3f3;
  color: #888;
  border-radius: 20px;
  padding: 2px 8px;
}

@media (max-width: 991px) {
  .page-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* ── Blog Page (page-blog.php) ────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(to top, #fff 0%, transparent 40px), radial-gradient(circle at 92% 60%, rgba(196, 17, 47, 0.09) 0%, transparent 50%), radial-gradient(circle at 80% 10%, rgba(196, 17, 47, 0.05) 0%, transparent 40%), linear-gradient(150deg, #fff 0%, #fdf3f4 100%);
  padding: 250px 0 80px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.blog-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.1);
  pointer-events: none;
}

.blog-hero::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 30%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(196, 17, 47, 0.07);
  pointer-events: none;
}

.blog-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: #252122;
  margin-bottom: 10px;
}

.blog-hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #888;
  max-width: 560px;
}

/* Dark hero variant for .blog-hero */
.has-dark-hero .blog-hero-title {
  color: #fff;
}

.has-dark-hero .blog-hero .katalog-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.has-dark-hero .blog-hero .analiza-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.has-dark-hero .blog-hero .analiza-breadcrumb span,
.has-dark-hero .blog-hero .analiza-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.blog-grid .home-blog-card {
  aspect-ratio: 4 / 3;
}

/* Card (unused — kept for reference) */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(37, 33, 34, 0.07);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  color: #252122;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(37, 33, 34, 0.13);
  transform: translateY(-3px);
}

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ede9ea;
  flex-shrink: 0;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ecec, #e8e4e5);
}

.blog-card-body {
  flex: 1;
  padding: 20px 20px 12px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.blog-card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4112f;
  background: rgba(196, 17, 47, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
}

.blog-card-date {
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #252122;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: #777;
  line-height: 1.6;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 16px;
  border-top: 1px solid #f0ecec;
  margin-top: auto;
}

.blog-card-read {
  font-size: 13px;
  font-weight: 500;
  color: #c4112f;
}

.blog-card-footer svg {
  color: #c4112f;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 60px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1px solid #e8e4e5;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: #c4112f;
  color: #fff;
  border-color: #c4112f;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-hero {
    padding: 140px 0 48px;
  }
}

/* ── Site Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #eee;
}

.site-footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 48px;
}

.site-footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 32px;
}

.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #000000;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.site-footer-socials a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-bottom {
  border-top: 1px solid;
  padding: 20px 0;
}

.site-footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer-copy {
  font-weight: 300;
  margin: 0;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-footer-links a {
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  transition: color 0.15s;
}

@media (max-width: 1550px) {
  body {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .site-footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .site-footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ── Single Analiza — title meta ────────────────────────────────────────────── */
.analiza-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.analiza-meta-id,
.analiza-meta-tip {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 50px;
  line-height: 1;
}

.analiza-meta-id {
  background: #231f20;
  color: #fff;
}

.analiza-meta-tip {
  border: 1px solid #231f20;
  color: #231f20;
}

/* ══════════════════════════════════════════════════════════════════════════════
   Cenovnik
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Layout ─────────────────────────────────────────── */
.cenovnik-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  margin-bottom: 80px;
}

/* ── Table ───────────────────────────────────────────── */
.cenovnik-table-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0eeee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.cenovnik-table-head {
  display: grid;
  grid-template-columns: 32px 45px 56px 1fr 1fr 110px 60px;
  background: #c4112f;
  color: #fff;
  padding: 18px 35px 18px 20px;
  font-weight: 500;
  gap: 8px;
}

.cenovnik-th {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.cenovnik-th[data-sort] {
  cursor: pointer;
  user-select: none;
}

.cenovnik-th[data-sort]:hover {
  opacity: 0.85;
}

.cenovnik-sort-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0.6;
  flex-shrink: 0;
}

.cenovnik-sort-icon svg {
  display: block;
}

.cenovnik-th.sort-asc .cenovnik-sort-icon,
.cenovnik-th.sort-desc .cenovnik-sort-icon {
  opacity: 1;
}

.cenovnik-table-body {
  max-height: 540px;
  overflow-y: auto;
}

.cenovnik-row {
  display: grid;
  grid-template-columns: 32px 45px 56px 1fr 1fr 110px 60px;
  padding: 14px 20px;
  border-bottom: 1px solid #f4f2f3;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
  gap: 8px;
  font-size: 16px;
}

.cenovnik-row:last-child {
  border-bottom: none;
}

.cenovnik-row:hover {
  background: #fdf3f4;
}

.cenovnik-row[hidden] {
  display: none;
}

.cenovnik-row-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #d0cece;
  display: inline-block;
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.cenovnik-row.is-selected .cenovnik-row-dot {
  background: #c4112f;
  border-color: #c4112f;
}

.cenovnik-row-sifra {
  font-weight: 500;
}

.cenovnik-row-tu {
  font-size: 14px;
}

.cenovnik-row-cena {
  text-align: right;
  font-weight: 500;
}

.cenovnik-row-vise {
  display: flex;
  justify-content: flex-end;
}

.cenovnik-row-vise a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #c4112f;
  border-radius: 50px;
  color: #c4112f;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

.cenovnik-row-vise a:hover {
  background: #c4112f;
  color: #fff;
}

.cenovnik-no-results {
  padding: 40px 20px;
  text-align: center;
  font-weight: 300;
}

/* ── Kalkulator ──────────────────────────────────────── */
.kalkulator-panel {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0eeee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 30px;
}

.kalkulator-header {
  background: #c4112f;
  color: #fff;
  padding: 18px 20px;
  font-weight: 500;
  text-align: center;
}

.kalkulator-items {
  padding: 4px 0;
  min-height: 56px;
}

.kalkulator-empty {
  padding: 13px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  margin: 0;
}

.kalkulator-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #f4f2f3;
}

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

.kalkulator-item-remove {
  flex-shrink: 0;
  color: #c4112f;
  opacity: 0.45;
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 0 0;
  display: flex;
  transition: opacity 0.15s;
}

.kalkulator-item-remove:hover {
  opacity: 1;
}

.kalkulator-item-name {
  flex: 1;
  font-size: 16px;
  color: #252122;
  line-height: 1.35;
}

.kalkulator-item-price {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.kalkulator-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 2px solid #f0eeee;
  background: #fdf9f9;
}

.kalkulator-total-label {
  font-weight: 600;
}

.kalkulator-total-sum {
  font-weight: 700;
  color: #c4112f;
}

.kalkulator-pdf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 11px;
  background: #fff;
  border: 1px solid #c4112f;
  border-radius: 50px;
  color: #c4112f;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.kalkulator-pdf-btn:hover {
  background: #c4112f;
  color: #fff;
}

.kalkulator-napomena {
  padding: 12px 16px 14px;
  background: #fdf9f9;
  border-top: 1px solid #f0eeee;
  font-size: 12px;
  color: #666;
  line-height: 1.55;
}

.kalkulator-napomena p {
  margin: 0 0 6px;
}

.kalkulator-napomena ul {
  margin: 4px 0 0;
  padding-left: 16px;
}

.kalkulator-napomena li {
  margin: 2px 0;
}

#cenovnik-search {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-weight: 300;
  color: #252122;
}

@media (max-width: 1100px) {
  .cenovnik-layout {
    grid-template-columns: 1fr;
  }

  .kalkulator-panel {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .cenovnik-table-head,
  .cenovnik-row {
    grid-template-columns: 40px 70px 44px 1fr 90px;
  }

  .cenovnik-th:nth-child(5),
  .cenovnik-row-cat {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Karijera
   ══════════════════════════════════════════════════════════════════════════════ */

.karijera-intro {
  max-width: 720px;
  margin: 48px auto 52px;
  font-size: 17px;
  line-height: 1.75;
  color: #444;
  text-align: center;
}

.karijera-intro p:last-child {
  margin-bottom: 0;
}

.karijera-card-bg {
  position: absolute;
  inset: 0;
  background: #c4112f;
}

.home-blog-card--no-img {
  position: relative;
}

.home-blog-card--no-img .home-blog-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 100%);
}

/* ══════════════════════════════════════════════════════════════════════════════
   Single Job
   ══════════════════════════════════════════════════════════════════════════════ */

.job-single .blog-hero {
  margin-bottom: 0;
  position: relative;
}

.job-single .blog-hero--has-img {
  background-size: cover;
  background-position: center;
}

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.job-single .blog-hero .container,
.karijera-page .blog-hero .container {
  position: relative;
  z-index: 2;
}

.job-content {
  margin: 48px 0 80px;
}

.job-description {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}

.job-description h2,
.job-description h3 {
  color: #252122;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
}

.job-description ul,
.job-description ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.job-description li {
  margin-bottom: 4px;
}

.job-form-section {
  background: #fff;
  border: 1px solid #f0eeee;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 36px 40px 30px;
}

.job-form-title {
  font-size: 22px;
  font-weight: 700;
  color: #252122;
  margin: 0 0 28px;
}
.wpcf7-not-valid-tip {
  font-size: 14px;
}
.job-form-section .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}

.job-form-section .wpcf7-form input[type="text"],
.job-form-section .wpcf7-form input[type="email"],
.job-form-section .wpcf7-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0dede;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #252122;
  background: #fafafa;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.job-form-section .wpcf7-form input[type="text"]:focus,
.job-form-section .wpcf7-form input[type="email"]:focus,
.job-form-section .wpcf7-form textarea:focus {
  outline: none;
  border-color: #c4112f;
  background: #fff;
}

.job-form-section .wpcf7-form textarea {
  min-height: 130px;
  resize: vertical;
}

.job-form-section .wpcf7-form input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cf7-file-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cf7-file-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #c4112f;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: #c4112f;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.cf7-file-label:hover {
  background: #c4112f;
  color: #fff;
}

.cf7-file-name {
  font-size: 13px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.job-form-section .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: #c4112f;
  color: #fff;
  border: none;
  border-radius: 50px;

  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
}

.job-form-section .wpcf7-form input[type="submit"]:hover {
  background: #a30d26;
}

@media (max-width: 768px) {
  .job-form-section {
    padding: 28px 20px 32px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Shared Page Components
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Eyebrow label ──────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c4112f;
  margin-bottom: 8px;
}

/* ── Section heading ────────────────────────────────────────────────────────── */
.section-heading {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: #252122;
  margin-bottom: 28px;
  line-height: 1.15;
}

.fl-pkg-prev, .fl-pkg-next {
  background: #c4112f!important;
}

/* ── White content card ─────────────────────────────────────────────────────── */
.content-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

/* ── Dot list ───────────────────────────────────────────────────────────────── */
.dot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap:5px;
}

.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 300;
  color: #444;
  line-height: 1.55;
}

.dot-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4112f;
  flex-shrink: 0;
  margin-top: 12px;
}
strong {
  font-weight: bold;
}
/* ── Primary CTA button ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c4112f;
  color: #fff;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: #a50e28;
  color: #fff;
}

/* ── Tagline / blockquote accent ────────────────────────────────────────────── */
.tagline-quote {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: #252122;
  border-left: 3px solid #c4112f;
  padding-left: 18px;
  line-height: 1.3;
  margin: 0;
}

/* ── Two-column grid ────────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-2--loose {
  gap: 48px;
}

/* ── Note / hint box ────────────────────────────────────────────────────────── */
.note-box {
  font-size: 16px;
  background: #f7f5f5;
  border-radius: 12px;
  padding: 20px;
  line-height: 1.6;
  min-height: 116px;
}

.note-box svg {
  flex-shrink: 0;
  color: #c4112f;
  margin-top: 2px;
}

/* ── Legal / disclaimer note ────────────────────────────────────────────────── */
.legal-note {
  background: #f7f5f5;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 300;
  color: #999;
  line-height: 1.65;
}

.legal-note strong {
  color: #666;
  font-weight: 500;
}

/* ── Panel block (dark header + item list) ──────────────────────────────────── */
.panel-block {
  border-radius: 14px;
  border: 1px solid #eeecec;
  overflow: hidden;
}

.panel-block-head {
  background: #eee;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-block-list {
  padding: 8px 20px 12px;
  background: #faf8f9;
  list-style: none;
  margin: 0;
}

.panel-block-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 300;
  color: #333;
  line-height: 1.3;
}

.panel-block-list li:last-child {
  border-bottom: none;
}

.panel-block-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4112f;
  flex-shrink: 0;
}

.panel-block-footer {
  padding: 10px 0 10px;
  font-size: 15px;
  font-weight: 400;
  background: #fff;

  line-height: 1.5;
}

.panel-block-footer strong {
  color: #c4112f;
  font-weight: 600;
}

/* ── Panel block expandable list ────────────────────────────────────────────── */
.panel-block-list-wrap {
  position: relative;
}

.panel-block-list-wrap.is-collapsed {
  max-height: 196px;
  overflow: hidden;
}

.panel-block-list-wrap .panel-block-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, #faf8f9);
  pointer-events: none;
  transition: opacity 0.2s;
}

.panel-block-list-wrap:not(.is-collapsed) .panel-block-fade {
  opacity: 0;
  pointer-events: none;
}

.panel-block-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #c4112f;
  background: #fff;
  border: none;
  border-top: 1px solid #eeecec;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  letter-spacing: 0.02em;
}

.panel-block-toggle:hover {
  background: #fdf3f4;
}
.panel-block-head svg {
  stroke: #c4112f;
}

.panel-block-toggle svg {
  transition: transform 0.25s;
  flex-shrink: 0;
}

.panel-block-toggle.is-open svg {
  transform: rotate(180deg);
}

/* ── Package card (red header + body) ──────────────────────────────────────── */
.pkg-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.pkg-card-header {
  background: #c4112f;
  color: #fff;
  padding: 30px;
}
.fl-pkg-nav {
  padding-bottom: 30px;
}

.pkg-card-name {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.pkg-card-name strong {
  font-weight: 800;
}

.pkg-card-tagline {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.85;
  max-width: 580px;
}

.pkg-card-body {
  padding: 40px;
  background: #fff;
  border-radius: 20px;
}
.pkg-card {
  background: #eee;
}

.paketi-holder {
  padding: 30px 60px 60px;
}

/* ── Page accordion ─────────────────────────────────────────────────────────── */
.acc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(196, 17, 47, 0.12);
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 24px;
  background: #fff;
  border: none;
  font-weight: 600;
  color: #252122;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition:
    background 0.15s,
    color 0.15s;
  line-height: 1.3;
}

.acc-btn:hover {
  background: #fdf8f9;
}

.acc-btn[aria-expanded="true"] {
  background: #c4112f;
  color: #fff;
  border-radius: 14px 14px 0 0;
}

.acc-icon {
  flex-shrink: 0;
  color: #c4112f;
  transition:
    transform 0.25s,
    color 0.15s;
}

.acc-btn[aria-expanded="true"] .acc-icon {
  transform: rotate(180deg);
  color: #fff;
}

.acc-body {
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid rgba(196, 17, 47, 0.1);
  font-weight: 300;
  line-height: 1.75;
  font-size: 15px;
}

.acc-body[hidden] {
  display: none;
}

.acc-lead-icon {
  flex-shrink: 0;
  color: #c4112f;
  transition: color 0.15s;
  width: 22px;
  height: auto;
}

.acc-btn[aria-expanded="true"] .acc-lead-icon {
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .content-card {
    padding: 28px 20px;
  }

  .grid-2,
  .grid-2--loose {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pkg-card-header {
    padding: 22px 20px;
  }

  .pkg-card-body {
    padding: 24px 20px;
  }
}

@media (max-width: 1450px) {
    body {
        font-size: 16px;
    }
}