/* OMNIA WPBakery gradniki (hero, kartice, ekipa, FAQ, CTA) */

/* utility razredi, če tema ne zagotovi */
.omnia-team-grid .row,
.omnia-faq-wrap .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.omnia-team-grid [class*="col-"],
.omnia-faq-wrap [class*="col-"] {
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .omnia-team-grid .col-md-3 { width: 25%; }
  .omnia-team-grid .col-md-4 { width: 33.3333%; }
  .omnia-team-grid .col-md-6 { width: 50%; }
  .omnia-faq-wrap .col-md-8 { width: 66.6667%; }
  .omnia-faq-wrap .col-md-offset-2 { margin-left: 16.6667%; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .omnia-team-grid .col-sm-6 { width: 50%; }
}
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }

.section-title {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 18px;
}
.section-title.text-center:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: #c4b5a6;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 110px 20px;
  background: #635471;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(15%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,84,113,.92), rgba(99,84,113,.72));
}
.hero-content { position: relative; max-width: 900px; margin: 0 auto; }
.hero-content h1 { color: #fff; font-size: 46px; margin-bottom: 12px; }
.hero-content .hero-subtitle { color: #e2d3c4; font-size: 22px; font-weight: 700; margin-bottom: 22px; }
.hero-content p { color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 30px; }

.btn-primary-custom {
  display: inline-block;
  background: #e2d3c4;
  color: #635471 !important;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 40px;
  transition: .25s;
  border: 2px solid #e2d3c4;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: #635471;
  color: #fff !important;
  border-color: #635471;
}

/* ---- SERVICE CARDS ---- */
.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(99,84,113,.10);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: .25s;
  border: 1px solid rgba(226,211,196,.5);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(99,84,113,.18);
}
.service-img-container { aspect-ratio: 16/10; overflow: hidden; }
.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}
.service-card:hover .service-img-container img { transform: scale(1.05); }
.service-content { padding: 28px; flex: 1; }
.service-content h3 { font-size: 26px; }
.service-content h5 {
  color: #c4b5a6;
  margin-top: 18px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.check-list { list-style: none; padding: 0; margin: 10px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.check-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #c4b5a6;
  font-size: 14px;
}

/* ---- FEATURE CARDS ---- */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(226,211,196,.5);
  transition: .25s;
  box-shadow: 0 6px 22px rgba(99,84,113,.07);
  box-sizing: border-box;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(99,84,113,.15);
}
.feature-icon-wrap {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(226,211,196,.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-wrap i { font-size: 30px; color: #635471; }
.feature-card .feature-title { font-size: 21px; }

/* ---- DOCTOR ---- */
.doctor-profile { text-align: center; margin-bottom: 20px; }
.doctor-img-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e2d3c4;
  box-shadow: 0 8px 24px rgba(99,84,113,.15);
}
.doctor-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile .doctor-name { font-size: 19px; margin-bottom: 4px; }
.doctor-profile .doctor-name a { color: #635471; }
.doctor-profile p { font-size: 14px; margin: 0; }

/* ---- FAQ ----
   Vsa pravila so scopana pod .omnia-faq-wrap, da premagajo globalni
   .faq-answer{display:none} iz medicina-dela.css (drug akordeon z razredom .active). */
.omnia-faq-wrap .faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(226,211,196,.5);
  box-shadow: 0 4px 16px rgba(99,84,113,.06);
}
.omnia-faq-wrap .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
}
.omnia-faq-wrap .faq-question h3 { margin: 0; font-size: 18px; }
.omnia-faq-wrap .faq-icon { color: #c4b5a6; transition: .3s; }
.omnia-faq-wrap .faq-item.open .faq-icon { transform: rotate(180deg); }
.omnia-faq-wrap .faq-answer {
  display: block;            /* povozi .faq-answer{display:none} iz medicina-dela.css */
  padding: 0 24px;           /* zaprto: brez navpicnega odmika => odgovor je popolnoma skrit */
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.omnia-faq-wrap .faq-item.open .faq-answer {
  padding: 0 24px 22px;      /* odprto: dodamo spodnji odmik */
  max-height: 500px;
}

/* ---- CTA ---- */
.cta-container {
  background: #635471;
  color: #fff;
  border-radius: 18px;
  padding: 50px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-container h2 { color: #fff; }
.cta-container p { color: rgba(255,255,255,.9); }
.contact-blocks {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.contact-box {
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 26px 34px;
  min-width: 230px;
}
.contact-box span { font-size: 26px; color: #e2d3c4; }
.contact-box h4 { color: #fff; margin: 10px 0 6px; font-size: 17px; font-family: 'Niramit', sans-serif; }
.contact-box a { color: #e2d3c4; font-size: 18px; font-family: 'Niramit', sans-serif; text-decoration: none; }

/* utility za WPBakery vrstice */
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.bg-light { background-color: #EDF3F6; }
.bg-white { background-color: #ffffff; }

/* Ozadja vrstic - povozi morebitne temine stile */
.vc_row.bg-light,
.wpb_row.bg-light { background-color: #EDF3F6 !important; }
.vc_row.bg-white,
.wpb_row.bg-white { background-color: #ffffff !important; }

/* V container templateu naj ozadje vrstice gre čez cel zaslon,
   vsebina pa ostane omejena na 1170px */
.truecad-container-main .vc_row.bg-light,
.truecad-container-main .wpb_row.bg-light {
  box-shadow: 0 0 0 100vmax #EDF3F6;
  clip-path: inset(0 -100vmax);
}

/* flex vrstice - enake višine stolpcev in poravnane kartice */
.vc_row.flex-row,
.wpb_row.flex-row { display: flex; flex-wrap: wrap; }
.vc_row.flex-row > .wpb_column,
.wpb_row.flex-row > .wpb_column {
  display: flex;
  float: none;
  margin-bottom: 30px;
}
.vc_row.flex-row > .wpb_column > .vc_column-inner,
.wpb_row.flex-row > .wpb_column > .vc_column-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.vc_row.flex-row .feature-card,
.vc_row.flex-row .service-card { flex: 1; }

/* hero vrstica - brez dodatnih odmikov, hero ima svoj padding */
.vc_row.omnia-hero-row,
.wpb_row.omnia-hero-row { padding: 0 !important; margin: 0 !important; }

/* skrij <br>, ki ga wpautop vstavi za shortcode in ustvari bel pas */
.wpb_wrapper > br,
.vc_column-inner > br,
.wpb_text_column > br { display: none; }

/* <br> med vrsticami (neposreden otrok main) - odstrani bel pas med sekcijami */
.truecad-fw-main > br,
#primary > br,
.site-main > br { display: none; }

/* FAQ - display mehanizem (prepove konflikt s teminimi stili za .faq-answer) */
.omnia-faq-wrap .faq-answer {
  display: none !important;
  max-height: none !important;
  padding: 0 24px;
  overflow: visible;
}
.omnia-faq-wrap .faq-item.open .faq-answer {
  display: block !important;
  padding: 0 24px 30px;
}

/* CTA - barve zaklenjene po predlogi (povozijo temine h3/p stile) */
.cta-container p { color: rgba(255,255,255,.9) !important; }
.contact-box h3 {
  color: #fff !important;
  margin: 10px 0 6px;
  font-size: 17px;
}
.contact-box a { color: #e2d3c4 !important; }
.contact-box span,
.contact-box span i { color: #e2d3c4 !important; }
