/*
Theme Name: UNIPA2022
Author: Daniel Dostál | imagemakers.cz
Author URI: https://www.imagemakers.cz/
Description: Šablona pro web UNIPA.cz - Unie porodních asistentek. Responzivní šablona s Bootstrap 5 a WooCommerce podporou.
Version: 1.2.23
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unipa2022
Tags: responsive, bootstrap5, woocommerce, custom-logo, custom-menu, translation-ready, one-column, two-columns, accessibility-ready
*/
/* Montserrat */
.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
/* DM Sans */
.dm-sans {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 5em;
  /* Margin bottom by footer height */
}
@media (max-width: 992px) {
  body {
    padding-top: 4.3em;
  }
}
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5em;
  /* Set the fixed height of the footer here */
}
body {
  font-family: "DM Sans", sans-serif;
  padding-top: 4em;
}
a {
  color: #ff602e;
}
a:hover {
  color: #da4a1f;
}
h1,
h2,
h3,
.btn {
  font-family: "Montserrat", sans-serif;
}
h2 {
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.7em;
}
img {
  max-width: 100%;
  border-radius: 25px;
}
ul {
  margin-bottom: 0.5em;
}
li {
  line-height: 2em;
}
/* Barvy a elementy */
.oranz {
  background-color: #ff602e;
  color: #fff;
}
a.btn.oranz {
  color: #fff !important;
  margin-bottom: 0.5em;
}
.btn.oranz:hover {
  background-color: #ff602e;
  color: #fff;
}
.zlut {
  background-color: #f19c27;
  color: #fff;
}
.btn.zlut:hover {
  background-color: #cb9032;
}
.btn {
  border-radius: 25px;
  padding: 0.8em;
  text-transform: uppercase;
}
.btn,
a.btn .btn-primary,
.btn .btn-primary {
  background-color: #ff602e;
}
.btn:hover,
a.btn .btn-primary:hover,
.btn .btn-primary:hover {
  background-color: #ff4912;
}
/* Navbar */
.navbar {
  background-color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  padding: 1em 0;
}
.navbar-nav {
  margin-left: auto;
}
.navbar-brand svg {
  zoom: 0.7;
}
/* Sticky navbar styling */
.navbar {
  background-color: #ffffff !important;
  /* White background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  /* High z-index to ensure it stays above other content */
  width: 100%;
  transition: all 0.3s ease;
}
/* Adjust for WordPress admin bar when logged in */
.admin-bar .navbar {
  top: 32px;
  /* Standard admin bar height */
}
/* Adjust for mobile admin bar */
@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
    /* Mobile admin bar height */
  }
}
/* Brand/logo text */
.navbar-brand {
  color: #000000 !important;
  font-weight: 600;
}
/* Normal menu links */
.navbar-nav .nav-link {
  color: #000000 !important;
  /* Black text */
  font-weight: 500;
  padding: 0.5rem 1rem;
  /* Normalize menu font-size for consistency across pages */
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.3s ease;
}
/* Dropdown toggle arrow color */
.dropdown-toggle::after {
  border-top-color: #000000;
  transition: all 0.3s ease;
}
/* Modified: Main menu items hover state (not colored background) */
.navbar-nav > .nav-item > .nav-link:hover,
.navbar-nav > .nav-item > .nav-link:focus,
.navbar-nav > .nav-item > .nav-link.active,
.navbar-nav > .nav-item.active > .nav-link {
  color: #ff602e !important;
  /* Orange text on hover */
  background-color: transparent;
  /* No background */
  text-decoration: underline;
  /* Optional: adds underline on hover */
}
/* Keep dropdown toggle visible */
.dropdown-toggle:hover::after,
.navbar-nav > .nav-item:hover .dropdown-toggle::after {
  border-top-color: #ff602e;
}
/* Dropdown menu styling */
.dropdown-menu {
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0;
  padding: 0.5rem 0;
  background-color: #ffffff;
}
/* Dropdown items */
.dropdown-item {
  color: #000000 !important;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
/* Dropdown item hover and active states - COLORED BACKGROUND HERE */
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  color: #ffffff !important;
  background-color: #ff602e;
  /* Orange background on hover */
}
/* Mobile menu toggle button */
.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 96, 46, 0.25);
}
/* Mobile menu toggler icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Optional: Add some top padding to the page content to prevent sudden jump when navbar becomes sticky */
body {
  padding-top: 85px;
  /* Adjust as needed based on your navbar height (fixed navbar requires body padding) */
}
.admin-bar body {
  padding-top: 117px;
  /* Fixed navbar + admin bar */
}
@media screen and (max-width: 782px) {
  .admin-bar body {
    padding-top: 131px;
    /* Fixed navbar + mobile admin bar */
  }
}
/* Adjustments for mobile view */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }
  .navbar-nav .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.8125rem;
  }
  /* Make sure dropdown menu is visually distinct on mobile */
  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0;
  }
  /* For mobile, we need to be more specific to target only dropdown items */
  .navbar-nav .dropdown-menu .dropdown-item:hover,
  .navbar-nav .dropdown-menu .dropdown-item:focus,
  .navbar-nav .dropdown-menu .dropdown-item.active {
    color: #ffffff !important;
    background-color: #ff602e;
  }
}
/* #searchModal a .btn.search odstraněny ve v1.2.23 — nový vzhled modalu
   i pillu je v bloku „Vyhledávací modal + našeptávač" na konci souboru. */
.btn.podpora {
  background-color: #ff602e;
  color: #fff;
  margin-left: 1em;
}
.btn.member {
  font-size: 0.9em;
  background-color: #000;
  color: #fff;
  margin-left: 1em;
  padding: 0.8em 1.2em;
}
/* breadcrumbs */
.breadcrumbs {
  padding: 0.5em 0 0.5em 0;
  margin-bottom: 1em;
}
#breadcrumbs {
  margin: 0;
  padding: 0;
}
/* im-seo (CZ SEO Optimizer) breadcrumbs */
.cz-seo-breadcrumbs {
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
}
.cz-seo-breadcrumbs a {
  color: #ff602e;
  text-decoration: none;
  display: inline-block;
}
.cz-seo-breadcrumbs a:hover {
  color: #da4a1f;
  text-decoration: underline;
}
.cz-seo-breadcrumbs .separator {
  margin: 0 0.4em;
  color: #6c757d;
  display: inline-block;
}
/* Odstranění číslování pro im-seo breadcrumbs */
.cz-seo-breadcrumbs li {
  list-style: none;
  display: inline;
  margin: 0;
  padding: 0;
}
/* Remove default ol/ul left padding and add consistent gap */
.cz-seo-breadcrumbs,
.cz-seo-breadcrumbs ol,
.cz-seo-breadcrumbs ul {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.cz-seo-breadcrumbs {
  gap: 0.6em;
}
.cz-seo-breadcrumbs .separator {
  margin: 0 0.6em;
}
/* Target im-seo generated structure (ol.breadcrumb-list with li.breadcrumb-item and li.breadcrumb-separator) */
.cz-seo-breadcrumbs .breadcrumb-list {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.cz-seo-breadcrumbs .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.cz-seo-breadcrumbs .breadcrumb-separator {
  margin: 0 0.6em;
  color: #6c757d;
  display: inline-block;
}
/* If separators are plain text nodes within li elements, ensure spacing by targeting adjacent selector */
.cz-seo-breadcrumbs .breadcrumb-item + .breadcrumb-separator,
.cz-seo-breadcrumbs .breadcrumb-separator + .breadcrumb-item {
  margin-left: 0.4em;
}
/* Header */
.hlavicka h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3em;
}
.hlavicka .spozadim {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
}
.hlavicka .text {
  padding: 8em 0;
}
.hlavicka .btn {
  font-family: "Montserrat", sans-serif;
  margin: 0.5em;
  font-weight: bold;
}
.hlavicka .btn {
  transition: transform 0.2s ease-in-out;
}
.hlavicka .btn:hover {
  transform: scale(1.05);
  /* Slightly enlarge the button */
}
header .popup {
  background-color: #ff602e;
  color: #fff;
  border-radius: 0;
}
header .popup a {
  color: #fff;
}
/* Home aktuality */
/* HP */
.hpkal {
  background-color: #f7eeea;
}
.hpkal .card {
  background-color: transparent;
  border: none;
}
.hpkal .card-body {
  padding: 0;
}
.hpkalendar h3,
.hpaktuality h3 {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}
.hpkalendar h4,
.hpaktuality h4 {
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.hpkalendar a {
  text-decoration: none;
  color: #000;
}
.hpkalendar a.btn.oranz,
.hpaktuality a.btn.oranz {
  color: #fff;
  background-color: #ff602e;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8em;
  display: inline;
}
.hpkalendar .datumudalosti {
  background-color: #f19c27;
  color: #fff;
  padding: 0.4rem 0.8rem;
  display: inline-block;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.hpaktuality .titulek h3 {
  margin: 0;
}
.hpaktuality .card {
  display: block;
}
.hpaktuality a img {
  -webkit-filter: opacity(100%);
  filter: opacity(100%);
}
.hpaktuality a > img:hover {
  -webkit-filter: opacity(50%);
  filter: opacity(50%);
  transition: all 0.2s ease-in;
}
.unipa-info {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(45deg, #fe6c38, #fe9b77) border-box;
  border: 3em solid transparent;
  border-radius: 6em;
  padding: 3em;
}
.unipa-info-in {
  border-radius: 3em;
}
.unipa-info .logo {
  text-align: center;
  margin-bottom: 2em;
}
.vid-dar {
  margin: 1em 0;
  padding: 2em 0;
}
.pa-box,
.rd-box {
  padding: 2em;
  margin: 1em 0;
}
.hpaktuality .nav-link {
  color: #000;
  text-decoration: underline;
}
.hpaktuality .nav-link.active {
  font-weight: bold;
}
.hpaktuality .card {
  border-width: 0;
  margin: 1em 0;
  background-color: transparent;
}
.hpaktuality .card a {
  color: #000;
  text-decoration: none;
}
.hpaktuality .card-body,
.hpkalendar .card-body {
  padding: 0.5em 0;
}
.hpaktuality h4 {
  line-height: 1.4em;
  padding: 0.5em 0 0 0;
}
/* kalendar */
.text-bg-unipa {
  color: #fff;
  background-color: #ff602e;
}
/* Badge styling - zajištění inline zobrazení */
.badge {
  display: inline-block !important;
  margin: 0.2rem 0.2rem 0.2rem 0;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: 0.375rem;
}
.text-bg-secondary {
  color: #fff !important;
  background-color: #6c757d !important;
}
/* Zajištění správného zarovnání badge vedle sebe */
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  margin: 0.2em 0 0.2em 0;
  align-items: center;
}
.datumudalosti + .badge-container {
  margin-top: 0.2em;
}
@media (max-width: 576px) {
  .badge-container {
    flex-direction: column;
    gap: 0.2em;
    align-items: flex-start;
  }
}
/* Page */
.titulsekce {
  margin-bottom: 2em;
}
.obsah-page-in h1,
.obsah-page-in-eshop h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3em;
  line-height: 1.4em;
  color: #ff602e;
}
.obsah-page-in h2 {
  display: inline-block;
  background-color: #f7eeea;
  padding: 0.3em 1em;
  border-radius: 15px;
  width: auto;
  box-sizing: border-box;
}
.obsah-page-in h2.accordion-header {
  background-color: #fff;
  padding: 0;
  border-radius: 0;
  display: block;
}
.accordion-button:not(.collapsed) {
  background-color: transparent;
  /* Set background color to transparent */
  color: #000;
  /* Change text color if needed */
}
.obsah-page-in p {
  line-height: 2em;
  margin-bottom: 1.5em;
}
.obsah-page-in.kalendar p {
  line-height: 1.6em;
}
.hlavicka,
.stranka {
  color: #033b5c;
}
.stranka a {
  color: #033b5c;
  text-decoration: underline;
}
.stranka {
  margin: 2em 0 7em 0;
}
h2.vetsi {
  font-size: 2.2em;
}
.center {
  margin: 0 auto;
}
/* Obsah */
.category .card-body {
  padding: 1em 0;
}
.category .card-body .datum {
  font-size: 0.8em;
}
.category .card-body .excerpt p {
  line-height: 1.6em;
}
.obsah-page-in .card {
  border-width: 0;
}
.obsah-page-in .card img {
  width: 100%;
}
.obsah-page-in .card a {
  text-decoration: none;
}
.obsah-page-in .card p a {
  color: #000;
}
.obsah-page-in .card .title {
  color: #ff602e;
}
.card.rozdelovnik {
  border-width: 2px;
  border-color: #ff602e;
}
.obsah-page-in .datum {
  margin: 0;
}
h2.accordion-header,
.accordion-button {
  font-weight: bold;
}
/* Mapa PA */
.mapa a:hover path {
  fill: #ff602e;
}
.kraje-mapapa-buttons .btn {
  padding: 0.3em 1em;
}
/* Kraje mapapa buttons */
.kraje-mapapa-buttons {
  text-align: center;
  margin-bottom: 2rem;
}
.kraje-buttons-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}
.kraje-buttons-flex a {
  text-decoration: none !important;
  display: inline-block;
  margin: 0;
  padding: 0;
}
.kraje-buttons-flex a:hover,
.kraje-buttons-flex a:focus {
  text-decoration: none !important;
  outline: none;
}
.kraje-buttons-flex .btn {
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.kraje-buttons-flex .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Responsive design */
@media (max-width: 768px) {
  .kraje-buttons-flex {
    gap: 0.3rem;
  }
  .kraje-buttons-flex .btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
}
@media (max-width: 576px) {
  .kraje-buttons-flex {
    gap: 0.25rem;
  }
  .kraje-buttons-flex .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}
/* single */
.relatedposts {
  border-top: #ff602e 1px solid;
  padding-top: 1em;
}
.relatedposts p {
  line-height: 1.1em;
}
.relatedposts .card-body {
  padding: 0.5em 0;
}
/* partneri */
.partneri {
  padding-top: 2em;
  padding-bottom: 2em;
  text-align: center;
}
.partneri h4 {
  margin-bottom: 1em;
}
.partneri img {
  max-width: 100%;
  margin: 1em;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: 0.5s ease;
  border-radius: 0;
}
.partneri img:hover {
  -webkit-filter: none;
  filter: none;
}
.partneri .logos img {
  max-height: 3.6em;
  width: auto;
}
.partneri .logos a {
  text-decoration: none;
}
/* Patička */
/* Socialni site */
.socialni-site {
  position: fixed;
  right: 0.3em;
  top: 20em;
  z-index: 99;
}
.socialni-site svg {
  display: block;
  margin-bottom: 0.2em;
}
.paticka {
  padding: 2em;
  font-size: 0.9em;
  background-color: #ff602e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: "DM Sans", sans-serif;
}
.paticka-in {
  margin-bottom: 3em;
}
.paticka a {
  text-decoration: underline;
}
.paticka h4 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.4em;
  margin-bottom: 1em;
}
.paticka p {
  margin-bottom: 2em;
}
.navigacni-paticka {
  font-family: "DM Sans", sans-serif;
  padding: 3em 0;
  color: #fff;
}
.navigacni-paticka a {
  color: #fff;
  text-decoration: none;
}
.navigacni-paticka p {
  margin-bottom: 0;
}
.navigacni-paticka h4 {
  text-transform: uppercase;
  font-size: 1em;
}
.kredity {
  padding: 2em 0 2em 0;
  font-size: 0.9em;
  line-height: 2em;
  color: #ffffff;
  background-color: #ff602e;
}
.kredity a {
  color: #ffffff;
  text-decoration: underline;
}
.kredity .im {
  text-align: right;
}
/*  */
/* Nahoru */
/* Mansory */
.post {
  margin-bottom: 2em;
}
.post img {
  border-radius: 25px;
}
.datum {
  margin: 1em 0;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  margin: 1.5em 10px;
  padding-left: 35px;
  /* Dostatek místa pro ikonu */
  font-style: italic;
  color: #555;
  font-size: 1.1em;
  background-color: #fffaf0;
  border-radius: 15px;
  border-left: 5px solid #ff602e;
  position: relative;
  padding-top: 25px;
  padding: 2em;
  max-width: 70%;
  display: inline-block;
}
blockquote::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chat-right-heart' viewBox='0 0 16 16'%3E%3Cpath d='M2 1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9.586a2 2 0 0 1 1.414.586l2 2V2a1 1 0 0 0-1-1zm12-1a2 2 0 0 1 2 2v12.793a.5.5 0 0 1-.854.353l-2.853-2.853a1 1 0 0 0-.707-.293H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z'/%3E%3Cpath d='M8 3.993c1.664-1.711 5.825 1.283 0 5.132-5.825-3.85-1.664-6.843 0-5.132'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
blockquote p {
  margin: 0 !important;
}
.modal-dialog-bottom-left {
  position: fixed !important;
  bottom: 10px;
  left: 10px;
  margin: 0;
  max-width: 400px;
}
/* eshop */
.woocommerce .button {
  background-color: #ff602e !important;
  color: #fff !important;
}
.woocommerce-loop-category__title {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
}
/* Ensure all product grid items have the same height */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
/* Ensure product descriptions take equal space */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 5rem;
  /* Adjust this based on your title length */
}
/* Position "Add to Cart" buttons consistently */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button {
  margin-top: auto;
  /* Push buttons to the bottom */
  display: block;
  width: 100%;
  /* Make buttons uniform */
  text-align: center;
}
.custom-cart {
  margin-bottom: 1em;
  border-bottom: #ff602e 1px solid;
  padding-bottom: 0.5em;
}
.cart-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.cart-count {
  background-color: #ff602e;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: bold;
  position: relative;
  top: -5px;
  right: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    background 0.2s,
    color 0.2s;
}
.mark,
mark {
  background-color: #fff;
}
.woocommerce div.product form.cart .variations select {
  padding-left: 1em;
}
.woocommerce span.onsale {
  padding: 0.2em 0.5em;
  background-color: #ff602e;
}
.woocommerce div.product div.images img {
  padding: 0.3em;
}
.obsah-page-in h1,
.obsah-page-in-eshop h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.3em;
  line-height: 1.4em;
  color: #ff602e;
}
.membership-status-card a {
  color: #fff;
}
/* Membership status card - zvýraznění a čitelný kontrast pro expirované/neaktivní stavy */
.membership-status-card {
  background: linear-gradient(180deg, #d95a2e 0%, #c14a25 100%);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.membership-status-card h4,
.membership-status-card h4 i {
  color: #ffffff;
}
.membership-status-card .membership-details,
.membership-status-card .membership-title,
.membership-status-card p {
  color: #ffffff;
  opacity: 1;
  /* zajistit plnou čitelnost */
}
/* Zajistit bílý text pro všechny podprvky karty (včetně small) */
.membership-status-card .membership-level {
  color: #ffffff;
  font-weight: 700;
}
.membership-status-card .membership-details small {
  color: #ffffff;
  opacity: 0.95;
}
.membership-status-card .membership-expired {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
}
.membership-status-card a {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 767.98px) {
  .membership-status-card {
    padding: 1rem;
  }
}
/* Stavové varianty pro kartu členství */
.membership-status-card.active {
  background: linear-gradient(180deg, #2a7b62 0%, #1f644f 100%);
  border-left: 6px solid #1b5e47;
}
.membership-status-card.future {
  background: linear-gradient(180deg, #f0b86f 0%, #ed9f3d 100%);
  border-left: 6px solid #d78b2e;
}
.membership-status-card.expired {
  background: linear-gradient(180deg, #b8332a 0%, #a12a22 100%);
  border-left: 6px solid #8f241e;
}
.membership-status-card.active .membership-details,
.membership-status-card.future .membership-details,
.membership-status-card.expired .membership-details {
  color: #ffffff;
  /* zaručit čitelnost textu */
}
.membership-status-card .membership-expired {
  color: #fff;
}
/* ===========================
      Animace
=========================== */
/* ===========================
      Wordpress
=========================== */
/* Zarovnání */
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* embed */
/* Galerie */
.gallery img {
  width: 100%;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.8em;
  color: #555;
  margin: 0.5em 0.5em 0 0.5em;
}
/* Video 100% */
/* ===========================
      Media queries
=========================== */
@media (max-width: 992px) {
  .linka {
    margin: 1em 0 1em 0;
  }
}
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
  svg {
    max-width: 100%;
    height: auto;
  }
  .socialni-site {
    display: none;
  }
  .card .ikona-box {
    padding: 1em;
    margin: 1em;
  }
  .hlavicka-front .hlavicka-obsah h1 {
    font-size: 3em;
  }
  .paticka {
    font-size: 80%;
  }
  .kredity .im {
    text-align: center;
  }
  footer {
    text-align: center;
  }
}
@media (max-width: 576px) {
  .card .ikona-box {
    margin-bottom: 4em;
  }
}
/* Lightbox styles */
/* Backdrop: globální default zprůhledněn (bylo 0.95, přidáno kvůli lightboxu).
   Backdrop je sourozenec <body> bez identity, takže ho CSS neumí scopovat per
   modal — lightbox si tmavé pozadí bere zpět přes tělovou třídu, kterou
   přepíná js/scripts.js. Specificita (0,2,2) vs (0,2,0) → bez !important. */
.modal-backdrop.show {
  opacity: 0.5;
}
body.unipa-lightbox-open .modal-backdrop.show {
  opacity: 0.95;
}
.modal-dialog-centered.modal-xl {
  max-width: 95%;
  margin: 10px auto;
}
#lightboxModal .modal-content {
  background-color: transparent;
  border: none;
}
#lightboxModal .modal-header {
  position: fixed;
  right: 20px;
  top: 20px;
  border: none;
  z-index: 1060;
  padding: 0;
}
#lightboxModal .btn-close {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 50%;
  opacity: 0.7;
  filter: invert(1);
  transition: opacity 0.3s ease;
}
#lightboxModal .btn-close:hover {
  opacity: 1;
}
#lightboxModal .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}
#lightboxImage {
  max-height: 85vh;
  max-width: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Cursor pointer pro všechny obrázky s lightboxem */
.wp-block-image img,
.wp-post-image,
.woocommerce-product-gallery__image img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.wp-block-image img:hover,
.wp-post-image:hover,
.woocommerce-product-gallery__image img:hover {
  opacity: 0.9;
}
/* ===========================
      Wordpress
=========================== */
/* Flexibilní bloky */
.obsahovy-box-wrapper {
  padding: 3em 0;
}
.obsahovy-box-wrapper .card {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 15px;
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}
.obsahovy-box-wrapper .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.obsahovy-box-wrapper .card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding: 1rem 1.25rem;
}
.obsahovy-box-wrapper .card-title {
  margin-bottom: 0;
  font-size: 1.3em;
  font-weight: 600;
  color: #ff602e;
}
.obsahovy-box-wrapper .card-body {
  padding: 1.25rem;
}
.obrazek-plna-sirka img {
  display: block;
  margin: 0;
  border-radius: 0;
}
/* Responzivní úpravy pro obsahový box */
@media (max-width: 767.98px) {
  .obsahovy-box-wrapper {
    padding: 2em 0 !important;
  }
  .obsahovy-box-wrapper .card {
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .obsahovy-box-wrapper .card-title {
    font-size: 1.2em;
  }
}
/* Aktuality sidebar v archivu událostí */
.aktuality-sidebar {
  background-color: #f7eeea;
  padding: 1.5rem;
  border-radius: 15px;
}
/* Custom button styles pro shortcode */
.btn-outline-primary {
  color: #ff602e !important;
  border-color: #ff602e !important;
  background-color: transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #ff602e !important;
  border-color: #ff602e !important;
  color: #fff !important;
}
/* Kurzor pointer pro všechna tlačítka */
.btn,
a.btn {
  cursor: pointer;
}
/* Obrázky na plnou šířku v obsahovém boxu */
.obsahovy-box-wrapper .card-image-only {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.obsahovy-box-wrapper .card-image-only .card-body-image-only {
  padding: 0;
  flex: 1;
  display: flex;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  height: 100%;
}
.obsahovy-box-wrapper .card-image-only .card-body-image-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  flex: 1;
  display: block;
}
/* S hlavičkou */
.obsahovy-box-wrapper .card-image-only:not(.no-header) .card-body-image-only {
  border-radius: 0 0 15px 15px;
}
.obsahovy-box-wrapper
  .card-image-only:not(.no-header)
  .card-body-image-only
  img {
  border-radius: 0 0 15px 15px;
}
/* Bez hlavičky - celý box je obrázek */
.obsahovy-box-wrapper .card-image-only.no-header .card-body-image-only {
  border-radius: 15px;
}
.obsahovy-box-wrapper .card-image-only.no-header .card-body-image-only img {
  border-radius: 15px;
}
/* Minimální výška pro zajištění konzistentního vzhledu */
.obsahovy-box-wrapper .card-image-only {
  min-height: 300px;
}
.obsahovy-box-wrapper .card-image-only.no-header {
  min-height: 250px;
}
/* Custom pagination styling */
.pagination {
  margin: 2rem 0;
}
.pagination .page-link {
  color: #ff602e;
  border-color: #ff602e;
  margin: 0 2px;
  padding: 0.5rem 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.pagination .page-link:hover {
  color: #fff;
  background-color: #ff602e;
  border-color: #ff602e;
}
.pagination .page-item.active .page-link {
  background-color: #ff602e;
  border-color: #ff602e;
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}
/* Zarovnání obsahu karet v kategoriích */
.obsah-page-in .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.obsah-page-in .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.obsah-page-in .card-text {
  margin-top: auto;
}
.obsah-page-in .card-title {
  flex-shrink: 0;
}
.obsah-page-in .datum {
  flex-shrink: 0;
}
.aktuality-sidebar .card-img-top {
  border-radius: 10px 10px 0 0;
  height: 120px;
  object-fit: cover;
}
.aktuality-sidebar .card {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 10px;
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}
.aktuality-sidebar .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Styly pro klikací excerpt produktů */
.aktuality-sidebar .product-excerpt-link {
  color: #000 !important;
  text-decoration: none !important;
}
.aktuality-sidebar .product-excerpt-link:hover {
  color: #000 !important;
  text-decoration: none !important;
}
/* Konzistentní mezery mezi flexibilními bloky */
.obsahovy-box-wrapper,
.obrazek-plna-sirka,
.textovy-obsah-wrapper {
  margin: 0 !important;
}
/* Odstranění extra margin z textového obsahu */
.textovy-obsah > *:first-child {
  margin-top: 0;
}
.textovy-obsah > *:last-child {
  margin-bottom: 0;
}
/* Konzistentní spacing pro harmoniku */
.accordion {
  margin: 0 !important;
}
/* SVG mapa ČR */
#mapa-cr {
  width: 100%;
  height: auto;
  max-width: 100%;
  position: relative;
}
.mapa-kraj {
  fill: #ccc;
  stroke: #fff;
  stroke-width: 0.5px;
  transition: fill 0.3s ease;
  cursor: pointer;
}
.mapa-kraj:hover {
  fill: #ff602e;
}
#mapa-cr a:focus .mapa-kraj {
  fill: #ff602e;
  outline: 2px solid #000;
  outline-offset: 2px;
}
/* Tooltip pro SVG mapu */
#mapa-cr a {
  position: relative;
}
#mapa-cr a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  transform: translateX(-50%) translateY(-5px);
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#mapa-cr a::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}
#mapa-cr a:hover::before,
#mapa-cr a:focus::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}
#mapa-cr a:hover::after,
#mapa-cr a:focus::after {
  opacity: 1;
  visibility: visible;
}
/* Responsive tooltip positioning */
@media (max-width: 768px) {
  #mapa-cr a::before {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* CSS class for obsahovy-box-wrapper */
.obsahovy-box-wrapper {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/* Remove blue outline from Bootstrap buttons */
.btn:focus {
  box-shadow: none;
  outline: none;
}
/* Override Bootstrap button border color */
:root {
  --bs-btn-border-color: none !important;
}
/* Remove blue outline and ensure vertical centering for buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:focus {
  box-shadow: none !important;
  outline: none !important;
}
/* Fix: Buttons should not stretch to full width */
.btn {
  width: auto;
  min-width: 120px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kraje-buttons-flex .btn,
.d-flex.flex-wrap.gap-2 .btn {
  width: auto;
  min-width: 120px;
  max-width: 100%;
  display: inline-flex;
}
/* Profily PA - Stránka se seznamem porodních asistentek */
.profily-filter {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  margin-bottom: 2rem;
}
.profily-stats {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 10px;
  margin-bottom: 1.5rem;
}
/* Kruhová profilová fotografie */
.wpmc-profile-photo-circle {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff602e;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: block;
  margin: 0 auto 10px auto;
  overflow: hidden;
}
/* Fix: Profile heading should be white for readability */
.wpmc-profile-info > h1:nth-child(1) {
  color: #ffffff !important;
}
/* Karty profilů */
.profily-filter ~ .row .card {
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}
.profily-filter ~ .row .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-color: #ff602e;
}
.profily-filter ~ .row .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
.profily-filter ~ .row .card-title a {
  color: #212529;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}
.profily-filter ~ .row .card-title a:hover {
  color: #ff602e;
}
.profily-filter ~ .row .card-text a {
  color: #6c757d;
  line-height: 1.4;
}
.profily-filter ~ .row .kraje-pusobnosti {
  border-left: 3px solid #ff602e;
  padding-left: 8px;
  margin-bottom: 0.75rem;
}
.profily-filter ~ .row .btn-outline-primary {
  border-color: #ff602e;
  color: #ff602e;
}
.profily-filter ~ .row .btn-outline-primary:hover {
  background-color: #ff602e;
  border-color: #ff602e;
}
/* Paginace pro profily */
.page-numbers {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  margin: 0 0.125rem;
  line-height: 1.25;
  color: #ff602e;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}
.page-numbers:hover,
.page-numbers.current {
  background-color: #ff602e;
  border-color: #ff602e;
  color: #fff;
  text-decoration: none;
}
ul.page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  gap: 0.25rem;
}
ul.page-numbers li {
  display: inline-block;
}
/* ------------ Přizpůsobení stylů pro časově omezené akce (WP Membership plugin) ------------ */
/* Sladit akční badge a cenové boxy s vizuální identitou šablony (barva #ff602e, jemnější stín, zaoblení) */
/* Ujistit se, že produkt v katalogu může mít absolutně pozicovaný badge */
.woocommerce ul.products li.product {
  position: relative;
  overflow: visible;
}
/* Kompaktní badge v katalogu */
.wpmc-loop-action-badge {
  background: #ff602e !important;
  color: #fff !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  font-size: 0.85em;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  animation: none !important;
  /* ztlumit pulzaci */
}
/* Na mobilu nechceme překrývat obrázek badge absolutně */
@media (max-width: 768px) {
  .wpmc-loop-action-badge {
    position: static !important;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
}
/* Přizpůsobení většího "action" boxu na stránce produktu */
.wpmc-action-row {
  background: linear-gradient(180deg, #fff8f3 0%, #fff3ee 100%);
  border-top: none !important;
  border-bottom: none !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.wpmc-action-row .wpmc-price-label {
  color: #b8431f;
  font-weight: 700;
}
.wpmc-action-row .wpmc-price-value.wpmc-action-price {
  color: #ff602e;
  font-size: 1.9em;
  font-weight: 800;
  animation: none !important;
  /* žádné pulzování */
}
/* Zjemnit badge v rámci WooCommerce (standardní span.onsale) */
.woocommerce span.onsale {
  padding: 0.18em 0.55em;
  background-color: #ff602e;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-transform: none;
}
/* Lehké zjemnění akcentních barev v cenových kartách (aby ladily s tématem) */
.wpmc-price-table,
.wpmc-member-price,
.wpmc-nonmember-price,
.wpmc-guest-price {
  border-radius: 10px;
  border-color: rgba(0, 0, 0, 0.06) !important;
}
/* Menší úprava úspor a popisků, aby seděly vedle ostatních elementů */
.wpmc-savings,
.wpmc-price-label {
  color: #3b3b3b;
}
/* Pokud by bylo potřeba, lze pozici badge drobně upravit pro jiné rozložení kartiček */
/* .woocommerce ul.products li.product .wpmc-loop-action-badge {
  left: 12px; top: 12px;
} */
/* Konec úprav pro akční ceny */
/* ------------ Kompaktní layout pro cenové řádky (WPMC) ------------ */
/* Zobrazit label a cenu na jedné řádce, menší padding, moderní čitelnost */
.wpmc-price-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}
.wpmc-price-row .wpmc-price-label {
  flex: 1 1 auto;
  font-size: 0.95em;
  color: #3b3b3b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.wpmc-price-row .wpmc-price-value {
  flex: 0 0 auto;
  font-size: 1.1em !important;
  font-weight: 700 !important;
  color: #333 !important;
}
.wpmc-price-row .wpmc-price-value + small {
  display: block;
  font-size: 0.85em;
  color: #6c757d;
  margin-top: 4px;
}
/* Úprava pro akční zvýraznění a další kompaktní pravidla */
.wpmc-action-row {
  padding: 6px 8px !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wpmc-action-row .wpmc-price-value.wpmc-action-price {
  font-size: 1.2em !important;
  font-weight: 800 !important;
  color: #ff602e !important;
}
/* Celkově zmenšit boxy s cenami pro kompaktní vzhled */
.wpmc-price-table {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
  margin: 0.35rem 0 !important;
}
.wpmc-price-row {
  padding: 6px 8px !important;
}
.wpmc-price-row .wpmc-price-label {
  font-size: 0.88em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}
.wpmc-price-row .wpmc-price-value {
  font-size: 1em !important;
  min-width: 6.5ch;
  white-space: nowrap;
}
/* Schovat doplňkové drobné texty, aby byl box opravdu úsporný */
.wpmc-price-row small,
.wpmc-price-row .wpmc-saving-note {
  display: none !important;
}
/* Zmenšit akční badge a její odsazení */
.wpmc-loop-action-badge {
  padding: 4px 8px !important;
  font-size: 0.75em !important;
  border-radius: 8px !important;
  top: 10px;
  left: 10px;
}
/* Menší mezery v tabulkovém layoutu */
.wpmc-price-table .wpmc-price-row {
  padding: 6px 8px !important;
}
/* Responsive: na menších obrazovkách ponecháme zalamování, ale stále kompaktně */
@media (max-width: 768px) {
  .wpmc-price-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 8px !important;
  }
  .wpmc-price-row .wpmc-price-label {
    flex-basis: 100%;
    font-size: 0.92em;
  }
  .wpmc-price-row .wpmc-price-value {
    flex-basis: 100%;
    text-align: left;
  }
}
/* Jemné tónování okrajů pro kompaktní tabulky */
.wpmc-price-table {
  border-left: 4px solid rgba(255, 96, 46, 0.06) !important;
}
/* Styl pro zarovnání buňky množství s tlačítkem */
.cart .quantity {
  display: flex;
  align-items: center;
  margin-right: 10px;
}
.cart .quantity .input-text.qty {
  height: 40px;
  /* Stejná výška jako tlačítko */
  padding: 0 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.cart .single_add_to_cart_button {
  height: 40px;
  /* Výška tlačítka */
  padding: 0 20px;
  font-size: 16px;
  border-radius: 4px;
}
/* Carousel custom controls for visibility on white background */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-prev,
.carousel-control-next {
  filter: none;
}
.carousel-indicators [data-bs-target] {
  background-color: #ff602e;
  border: 2px solid #bbb;
  opacity: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 6px;
  box-shadow:
    0 0 0 4px #fff,
    0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.carousel-indicators .active {
  background-color: #da4a1f;
  border-color: #ff602e;
}
.carousel-indicators-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.carousel-indicators {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
/* Carousel custom layout and height */
.carousel-slide-content {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.carousel-slide-content h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #ff602e;
}
.carousel-slide-content .mb-3 {
  margin-bottom: 1rem !important;
}
.carousel-slide-content img {
  max-width: 300px;
  border-radius: 15px;
  margin: 0 auto;
  display: block;
}
@media (max-width: 768px) {
  .carousel-slide-content {
    min-height: 320px;
  }
  .carousel-slide-content img {
    max-width: 200px;
  }
}
/* Moved from page-profily-pa.php */
.wpmc-profile-photo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f8f9fa;
}
.card {
  transition: transform 0.2s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.kraje-pusobnosti {
  font-size: 0.85rem;
}
.profily-filter {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}
.alert-warning {
  max-height: 400px;
  overflow-y: auto;
}
/* Insurance badges v kartě profilu */
.insurance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.insurance-badges .badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25em 0.5em;
}
/* Insurance contracts v detailu profilu */
.pa-insurance-contracts {
  background: #f8f9fa;
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.pa-insurance-contracts h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}
.pa-insurance-contracts .insurance-item {
  padding: 0.75rem;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}
.pa-insurance-contracts .insurance-name {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.pa-insurance-contracts .insurance-districts {
  padding-left: 0.5rem;
}
.pa-insurance-contracts .insurance-note {
  padding-left: 0.5rem;
  border-left: 2px solid #ff602e;
}

/* ==========================================================================
   Vyhledávací modal + našeptávač (v1.2.23)

   Záměrně celé zde a nic v assets/css/critical.css: theme-style je běžný
   render-blocking <link> v <head>, takže u style.css není FOUC riziko.
   Modal je display:none a JS-triggered, dropdown neexistuje do vyřešení
   fetche — inlining by zvětšil head na každé stránce bez přínosu pro paint.
   ========================================================================== */

/* --- Trigger v navbaru (dosud bez jakéhokoli CSS) ----------------------- */
.navsearchicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.25rem;
  border-radius: 50%;
  color: #000;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.navsearchicon svg {
  display: block;
}
/* SVG default fill je black, ne currentColor — bez tohoto ikona nereaguje na color */
.navsearchicon svg path {
  fill: currentColor;
}
.navsearchicon:hover,
.navsearchicon:focus-visible {
  color: #ff602e;
  background-color: rgba(255, 96, 46, 0.08);
}
.navsearchicon:focus-visible {
  outline: 2px solid #ff602e;
  outline-offset: 2px;
}
/* 1199.98px odpovídá navbar-expand-xl (header.php) — pod tím je ikona
   v rozbaleném menu a potřebuje vertikální odsazení, ne kruhový chip */
@media (max-width: 1199.98px) {
  .navsearchicon {
    margin: 0.5rem 0.75rem;
  }
}

/* --- Dialog -------------------------------------------------------------
   Bylo: #searchModal { width:100%; margin-top:5em } — margin na *fixed*
   overlay posouval celý překryv dolů. Navbar je z-index 1030, backdrop 1050,
   takže hack navbar nikdy „neuvolnil". Řešíme přes .modal-dialog.
   Top-anchored (ne modal-dialog-centered): dialog roste s dropdownem a
   centrovaný by inputem skákal pod kurzorem při každém stisku klávesy. */
#searchModal .modal-dialog {
  max-width: 680px;
  margin-top: min(14vh, 7.5rem);
}
#searchModal .modal-content {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.22);
}
#searchModal .modal-body {
  padding: 2rem 1.5rem 1.5rem;
}
/* Křížek bez .modal-header — .modal-content má position:relative z Bootstrapu */
#searchModal .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  opacity: 0.55;
}
#searchModal .btn-close:hover {
  opacity: 1;
}
#searchModal .btn-close:focus-visible {
  opacity: 1;
  box-shadow: 0 0 0 0.25rem rgba(255, 96, 46, 0.25);
}

/* --- Pill: bílé pole + oranžové kruhové tlačítko jako JEDEN celek -------
   Tlačítko nemá třídu .btn, takže neplatí .btn{min-width:120px;
   text-transform:uppercase; border-radius:25px} ani .btn:focus{box-shadow:
   none!important} — proto zde není potřeba žádné !important. */
.unipa-searchbox {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

/* Bílý pill žije na wrapperu, ne na inputu. Záměrně NE .input-group —
   Bootstrap tam na `> :not(:first-child):not(…)` nuluje levé rohy se
   specificitou (0,7,0) a z kruhového tlačítka by byl půlkruh. */
.unipa-searchbox .unipa-searchbox__field {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  background: #fff;
  border: 1px solid #e3d8d2;
  border-radius: 999px;
  padding: 0.3rem 0.35rem 0.3rem 0;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Fokus ring na wrapperu (:focus-within) — obepíná celý pill. Barva dle
   konvence používané jinde v tomto souboru: rgba(255,96,46,.25). */
.unipa-searchbox .unipa-searchbox__field:focus-within {
  border-color: #ff602e;
  box-shadow: 0 0 0 0.25rem rgba(255, 96, 46, 0.25);
}

.unipa-searchbox .unipa-searchbox__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 1.125rem; /* 18px — nad 16px, iOS při fokusu nezoomuje */
  line-height: 1.4;
  padding: 0.8rem 1.25rem;
  min-height: 3.25rem;
  color: #000;
}
/* Bootstrapí modrý ring na inputu zhasnout — ring drží wrapper výše */
.unipa-searchbox .unipa-searchbox__input:focus {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
  color: #000;
}
.unipa-searchbox .unipa-searchbox__input::placeholder {
  color: #8a7f7a;
  opacity: 1;
}
/* Nativní kříž u type="search" nepotřebujeme — Esc/klik mimo řeší JS */
.unipa-searchbox .unipa-searchbox__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.unipa-searchbox .unipa-searchbox__submit {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem; /* 44×44 — minimální touch target */
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #ff602e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.unipa-searchbox .unipa-searchbox__submit:hover {
  background-color: #da4a1f;
}
.unipa-searchbox .unipa-searchbox__submit svg {
  display: block;
}
.unipa-searchbox .unipa-searchbox__submit svg path {
  fill: currentColor;
}
.unipa-searchbox .unipa-searchbox__submit:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* --- Panel našeptávače -------------------------------------------------- */
.unipa-suggest {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #fff;
  border: 1px solid #eee3dd;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.16);
  overflow: hidden;
  text-align: left;
}
.unipa-suggest[hidden] {
  display: none;
}
/* min(48vh, 26rem) drží panel nad mobilní klávesnicí */
.unipa-suggest__list {
  max-height: min(48vh, 26rem);
  overflow-y: auto;
}

.unipa-suggest__item {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0.7rem 1rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #f4ece8;
}
.unipa-suggest__item:last-child {
  border-bottom: 0;
}
.unipa-suggest__item:hover,
.unipa-suggest__item.is-active {
  background-color: #fff5f2;
  color: #000;
}
/* Klávesově aktivní položka má navíc pruh — musí být rozlišitelná od
   hoveru myší, když nastanou oba stavy zároveň */
.unipa-suggest__item.is-active {
  box-shadow: inset 3px 0 0 #ff602e;
}

.unipa-suggest__title {
  flex: 1 1 auto;
  font-weight: 500;
  line-height: 1.35;
}
/* Transparentní pozadí — žluté default <mark> by bilo s paletou */
.unipa-suggest__title mark {
  background: transparent;
  color: #da4a1f;
  font-weight: 700;
  padding: 0;
}
.unipa-suggest__meta {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  color: #6b625e;
}
.unipa-suggest__badge {
  flex: 0 0 auto;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background-color: #f7eeea;
  color: #8a4227;
  white-space: nowrap;
}
.unipa-suggest__badge--udalost {
  background-color: #fdf0dc;
  color: #8a5c10;
}
.unipa-suggest__badge--product {
  background-color: #ffe8e1;
  color: #a63a15;
}

.unipa-suggest__state {
  padding: 0.9rem 1rem;
  font-size: 0.9375rem;
  color: #6b625e;
}
.unipa-suggest__foot {
  border-top: 1px solid #f0e6e1;
  background: #fdfaf9;
}
.unipa-suggest__foot:empty {
  display: none;
}
.unipa-suggest__all {
  display: block;
  padding: 0.7rem 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff602e;
  text-decoration: none;
}
.unipa-suggest__all:hover {
  color: #da4a1f;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .navsearchicon,
  .unipa-searchbox .unipa-searchbox__field,
  .unipa-searchbox .unipa-searchbox__submit {
    transition: none;
  }
}
