/* 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;
  }
}

/*
Theme Name: unipa.cz
Theme URI: https:///
Description: Šablona - unipa.cz
Text Domain: unipa
Author: Jitka Turbáková & Daniel Dostál | imagemakers.cz
Author URI: http://www.imagemakers.cz/
Version: 3.0.1
Tags: responsive, bootstrap4
*/
/* 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;
  /* word-break: break-word; */
  padding-top: 4em;
}

a {
  color: #ff602e;
}

a:hover {
  color: #da4a1f;
}

h1,
h2,
h3,
.btn {
  font-family: 'Montserrat', sans-serif;
}

h2 {
  margin-bottom: .5em;
}

h3 {
  font-size: 1.7em;
}

img {
  max-width: 100%;
  border-radius: 25px;
}

ul {
  margin-bottom: .5em;
}

li {
  line-height: 2em;
}

/* Barvy a elementy */
.oranz {
  background-color: #ff602e;
  color: #fff;
}

a.btn.oranz {
  color: #fff !important;
  margin-bottom: .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: .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: .9em;
  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: sticky;
  top: 0;
  z-index: 1020;
  /* 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;
  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: 0;
  /* Adjust as needed based on your navbar height */
}

/* Adjustments for mobile view */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }

  /* 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 {
  width: 100%;
  margin-top: 5em;
}

.btn.search {
  background-color: #ff602e;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  padding: .5em;
  border-radius: 25px;
  margin-left: 1em;
}

.btn.podpora {
  background-color: #ff602e;
  color: #fff;
  margin-left: 1em;
}

.btn.member {
  font-size: .9em;
  background-color: #000;
  color: #fff;
  margin-left: 1em;
  padding: .8em 1.2em;
}

/* breadcrumbs */
.breadcrumbs {
  /* background-color: #f0effd; */
  padding: 0.5em 0 0.5em 0;
  margin-bottom: 1em;
}

.breadcrumbs {
  /* margin-top: 8em; */
  font-size: 0.8em;
}

#breadcrumbs {
  margin: 0;
  padding: 0;
}

/* 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: .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;
  /* padding: .8em 1em; */
  /* margin: 0.5em 0; */
}

.hpkalendar .datumudalosti {
  background-color: #F19C27;
  color: #fff;
  padding: .3em .5em;
  display: inline-block;
  border-radius: 15px;
  font-size: .8em;
  font-weight: bold;
}

.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: .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: .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 {
  /* margin-top: 4em; */
  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: .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: .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: .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: .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-image: url("images/footer_bg_.jpg"); */
  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;
  /* background-color: #d6d6d6; */
  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: #000;
  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: .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.10);
  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: .2em .5em;
  background-color: #ff602e;
}

.woocommerce div.product div.images img {
  padding: .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: .2rem .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%;
}

/* Video 100% */
/* ===========================
      Media queries
=========================== */
@media (max-width: 992px) {
  .linka {
    margin: 1em 0 1em 0;
  }
}

@media (max-width: 768px) {
  img {
    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 */
.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 {
  /* margin: 2em 0; */
  padding: 3em 0
}

.obsahovy-box-wrapper .card {
  border: 1px solid rgba(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, .1);
}

.obsahovy-box-wrapper .card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(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, .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, .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;
}

/* 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: .18em .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: 1.0em !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;
}

