/*
Theme Name: Broňa.cz
Theme URI:
Author: Pavel Ovesny
Author URI: https://weby.pavelovesny.cz
Description: Theme Broňa.cz
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* general */

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background: #f6f5f3;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #1E3D6B;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
.mobil-title {
  font-family: 'Poppins', sans-serif;
  padding: 0 0 1em 0;
  margin: 0;
  color: #1E3D6B;
}

h1 {
  font-size: 44px;
  line-height: 56px;
}

h2 {
  font-size: 32px;
  font-weight: 500;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  padding: 0 0 1em 0;
  margin: 0;
}

a {
  color: #1E3D6B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.entry-content a {
  color: #5271FF;
}

a img,
a:hover img {
  text-decoration: none;
}

ol,
ul {
  margin: 0;
  padding-left: 20px;
}

.container ol,
.container ul {
  margin-bottom: 1em;
}

/* menu */

.site-header {
  width: 100%;
  height: 143px;
}

.site-header .container {
  display: flex;
  margin: 0 auto;
}

#logo {
  width: 145px;
  height: 32px;
  margin-top: 25px;
}

#user-feature {
  margin-left: auto;
  padding-top: 30px;
  display: flex;
  position: relative;
}

#user-feature a.login {
  padding-left: 1em;
}

.navbar {
  width: calc(100% - 145px);
  margin: 25px 0 0 auto;
}

.menu-menu-container {
  width: 100%;
}

.navbar ul {
  width: 100%;
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}

.navbar ul li {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.navbar ul li a {
  color: #1E3D6B;
  padding: 10px 0;
  position: relative;
  text-decoration: none;
}

.navbar ul li.current-menu-item a,
.navbar ul li a:hover {
  color: #5271FF;
}

.navbar ul li.current-menu-item a::after,
.navbar ul li a::after {
  content: '';
  position: absolute;
  left: -5px;
  /* přesah vlevo */
  right: -5px;
  /* přesah vpravo */
  bottom: 0;
  /* umístění pod text */
  height: 3px;
  /* tloušťka podtržení */
  background-color: #5271FF;
  /* barva podtržení */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar ul li a:hover::after {
  transform: scaleX(1);
  /* rozbalení efektu při hoveru */
}

.menu-toggle {
  cursor: pointer;
}

.menu-toggle {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  right: 0;
}

.menu-toggle,
.mobile-navigation {
  display: none;
}


/* cart header */

.cart-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  padding-left: 1em;
}

.cart-link:hover {
  text-decoration: none;
  color: #5271FF;
}

.header-top .cart {
  position: relative;
  display: flex;
}

.cart-total {
  margin-left: 5px;
}

#user-feature .item-number {
  background: #F87760;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  height: 14px;
  line-height: 14px;
  min-width: 14px;
  position: absolute;
  right: -10px;
  text-align: center;
  top: -8px;
}


/* search */

/* Skrytí pop-up okna na začátku */

.search-icon .fa-magnifying-glass {
  cursor: pointer;
}

.search-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Vnitřní obsah pop-up okna */

.search-popup-content {
  background: #fff;
  padding: 2em;
  border-radius: 1em;
  position: relative;
  width: 300px;
  display: flex;
  flex-direction: column;
}

/* Zavírací tlačítko */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Styl vyhledávacího pole */

.searchform input[type="text"],
.search-field {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #1E3D6B;
  border-radius: 0.5em;
}

.searchform input[type="text"] {
  padding: 10px 0;
  text-indent: 10px;
}


/* Styl tlačítka vyhledávání */

.searchform {
  max-width: 300px;
}

.sensei-login-submit input[type="submit"],
.searchform input[type="submit"],
.search-submit {
  margin-top: 1em;
  width: 100%;
  background: #1E3D6B;
  color: #fff;
  border: none;
  padding: 1em;
  cursor: pointer;
  border-radius: 0.5em;
}

.sensei-login-submit input[type="submit"] {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 1em;
}

/* Našeptávač */
.search-suggestions {
  background: #fff;
  border: 1px solid #1E3D6B;
  margin-top: 2em;
  display: none;
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-suggestions li {
  padding: 10px;
  cursor: pointer;
}

.search-suggestions li:hover {
  background: #f0f0f0;
}


/* content */

.container {
  width: 1300px;
  margin: 0 auto;
}

.container-footer {
  width: 100%;
}

.title-center h2 {
  text-align: center;
}


/* buttons */

.category-onlinetesty .asq-theme.asq-theme-buzzfeed .button.button-salmon,
.single_add_to_cart_button,
.post-tags a,
.btn {
  display: inline-block;
  border-radius: 22px;
  width: 245px;
  height: 44px;
  line-height: 44px;
  background-color: #1E3D6B;
  border: 1px solid #1E3D6B;
  color: #fff;
  text-align: center;
}

.entry-content a.btn {
  color: #fff;
}

.category-onlinetesty .asq-theme.asq-theme-buzzfeed .button.button-salmon:hover,
.btn:hover {
  background-color: #5271FF;
  border: 1px solid #5271FF;
  text-decoration: none;
}

.category-onlinetesty .asq-theme.asq-theme-buzzfeed .button {
  padding: 0;
  text-transform: none;
}

.category-onlinetesty .asq-theme.asq-theme-buzzfeed .quiz-actions {
  margin-top: 0;
}

.category-onlinetesty .asq-theme.asq-theme-buzzfeed .quiz-actions {
  text-align: left;
}

.entry-content a.wp-element-button {
  color: #fff;
}

.btn-red {
  background-color: #F8606A;
  margin-left: 1em;
  width: 280px;
  border: 1px solid #F8606A;
}

.btn-invers {
  background-color: #fff;
  color: #1E3D6B;
}

.entry-content a.btn-invers {
  color: #1E3D6B;
}

.btn-invers:hover {
  background-color: #5271FF;
  color: #fff;
}

.btn-footer {
  border: 0;
  width: 116px;
  height: 31px;
  color: #1E3D6B;
  background-color: #fff;
  line-height: 38px;
  margin-bottom: 1em;
}

.btn-filters,
.btn-filters:hover,
.btn-filters-invers {
  background-color: #fff;
  color: #1E3D6B;
  height: 30px;
  line-height: 31px;
  margin-right: 1em;
  width: 200px;
}

.btn-filters-invers,
.btn-filters:hover {
  background-color: #5271FF;
  color: #fff;
  border: 1px solid #5271FF;
}

.post-tags a,
.btn-tags {
  width: auto;
  height: 24px;
  line-height: 24px;
  border: 0;
  background-color: #d9d9d9;
  padding: 0 10px;
  color: #1E3D6B;
  font-size: 14px;
}


/* home */

.home h2 {
  font-weight: 500;
}

.home h2 a {
  color: #5271FF;
  text-decoration: underline;
}

.home h2 a:hover {
  text-decoration: none;
}

#front-feature h1 {
  padding-bottom: 24px;
}

#front-feature .fa-heart {
  color: #F8606A;
}

#front-feature h1 .fa-heart {
  font-size: 50px;
}

.tax-uroven .products-items,
.all-products,
#front-products .products-items,
#book-products .products-items,
.grid-four-colums,
.grid-three-colums,
.grid-two-colums,
.related-inner,
#company-logos,
.firmy-items,
.container.half,
#teacher-highlights,
#front-content-columns,
#front-newsletter .container,
.home .products-items,
#filter-results,
#front-feature,
#front-highlights,
#signpost-feature,
#signpost-highlights,
#online-quizes .quizes-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}

.page-id-46787 .all-products {
  background-color: #fff;
  padding: 1em 0 0 1em;
}

.grid-four-colums,
.firmy-items,
#teacher-highlights,
#signpost-highlights,
#front-highlights,
#online-quizes .quizes-items {
  grid-template-columns: repeat(4, 1fr);
}

.tax-uroven .products-items,
#front-products .products-items,
#book-products .products-items,
.home .products-items,
.grid-three-colums {
  grid-template-columns: repeat(3, 1fr);
}

#company-logos {
  grid-template-columns: repeat(6, 1fr);
  margin: 3em auto;
  padding: 0 2em;
  box-sizing: border-box;
}

.inglish-info-inner,
.inglish-who-inner {
  display: flex;
}

.inglish-info-inner {
  margin-bottom: 1em;
}

#inglish-program,
#inglish-who,
.feature-post {
  background: #fff;
  width: 100%;
}

.moje-galerie {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1em;
}

.moje-galerie img {
  width: 100%;
  height: auto;
}

.inglish-who-inner .one-third {
  width: 25%;
  text-align: center;
  margin: 0 auto;
}

.inglish-who-inner .two-third {
  width: 75%;
}

.inglish-who-inner .one-third img {
  height: 370px;
  width: auto;
  display: block;
  margin: 0 auto;
}

#company-logos .item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 1em;
}

.course-perex,
.post-author,
.feature-post,
#signpost-feature,
#front-feature {
  background: #d7e8f1;
  border-radius: 10px;
  padding: 4em;
  box-sizing: border-box;
  margin-bottom: 2.5em;
}

.home #front-feature {
  padding: 3em 4em;
  margin-bottom: 1.7em;
}

.single-post .feature-post {
  background: #fff;
}

.kvizy-description a,
.feature-text a {
  color: #5271FF;
}

.tax-uroven .feature-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 250px;
}

.feature-text a.btn {
  color: #fff;
}

.mobil-title {
  display: none;
}

#front-feature,
#signpost-feature {
  padding: 3em;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text image";
}

.feature-text {
  grid-area: text;
}

.feature-image,
.feature-front-video {
  grid-area: image;
}

.feature-video {
  grid-area: image;
  background: url('img/feature-video.png') center center no-repeat;
}

.feature-taxonomy,
.feature-kurzy,
.feature-newsletter,
.feature-firmy,
.feature-photo,
.feature-knihy,
.feature-kvizy {
  grid-area: image;
  background: url('img/feature-photo.png') center center no-repeat;
  min-height: 280px;
}

.feature-knihy {
  background: url('img/feature-knihy.png') center center no-repeat;
}

.feature-kvizy {
  background: url('img/feature-kvizy.png') center center no-repeat;
}

.feature-kontakt {
  background: url('img/feature-kontakt.png') center center no-repeat;
  min-height: 310px;
}

.feature-firmy {
  background: url('img/feature-firmy.png') center center no-repeat;
}

.feature-newsletter {
  background: url('img/feature-newsletter.png') center center no-repeat;
}

.feature-kurzy {
  background: url('img/feature-online-kurzy.png') center center no-repeat;
}

.feature-taxonomy {
  background: url('img/feature-taxonomy.png') center center no-repeat;
  min-height: 250px;
}

.feature-text h2,
.violet-color,
.post-more {
  color: #5271FF;
}

/* přehození prvků desktop */

.feature-heading {
  order: 1;
  flex: 1 1 100%;
}

.feature-description {
  order: 2;
  flex: 1 1 50%;
}


#front-highlights {
  gap: 4.5em;
  margin-bottom: 60px;
}

.home #front-highlights {
  margin-bottom: 3em;
}

#filter-results {
  grid-template-columns: repeat(3, 1fr);
}

#front-highlights .item {
  background: #fff;
  text-align: center;
  padding: 2em;
  border-radius: 1em;
}

.highlights-value {
  font-size: 18px;
  font-weight: bold;
}

.highlights-value :before {
  color: #F8606A;
}

#front-products h2 {
  text-align: center;
}

.feature-text h2 {
  font-size: 20px;
}

.anglictinazdarma #front-feature,
.podcast #front-feature {
  padding: 2.5em 4em;
}

.anglictinazdarma #front-feature h1,
.podcast #front-feature h1 {
  margin-top: 0.5em;
}

.anglictinazdarma .feature-text h2,
.podcast .feature-text h2 {
  font-size: 32px;
  color: #1E3D6B;
  font-weight: 500;
}

.anglictinazdarma .feature-text p,
.podcast .feature-text p {
  font-size: 18px;
  font-weight: 500;
}

.anglictinazdarma .feature-kurzy,
.podcast .feature-kurzy {
  min-height: 360px;
}

.anglictinazdarma .entry-content h2 {
  padding-top: 1em;
}


/* courses quizes */

.inglis-content-inner {
  max-width: 850px;
  margin: 0 auto;
}


/* courses quizes */

.course-item,
.quiz-item {
  background: #fff;
}

.course-item {
  border-radius: 18px;
  border: 2px solid #f6f5f3;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.course-item:hover {
  border: 2px solid #5271FF;
}

.course-image {
  position: relative;
}

.nalepka {
  position: absolute;
  top: 22px;
  left: 25px;
  font-weight: 600;
  background-color: #fff;
  border-radius: 8px;
  height: 25px;
  line-height: 25px;
  padding: 0 7px;
  font-size: 14px;
}

.post-image img,
.quiz-item img,
.course-image img {
  width: 100%;
  height: auto;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

.post-image img {
  width: 200px;
  height: auto;
}

.quiz-inner,
.course-inner {
  padding: 1.3em;
}

.course-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.course-more-info .btn {
  width: 220px;
}

.course-meta,
.course-description,
.course-price {
  font-size: 15px;
}

.course-description {
  margin-bottom: 1em;
}

.course-meta span {
  padding-right: 1em;
  white-space: nowrap;
}

.fa-star {
  color: #FFCF4D;
}

.course-meta {
  padding: 0.5em 0 1em 0;
}

.course-title {
  padding-top: 1em;
}

.course-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 600;
}

.course-price-more {
  display: flex;
  margin-top: auto;
  /* tohle zajistí odsazení na spodek */
}

.course-price {
  flex-grow: 1;
}

.course-description ul {
  padding-left: 20px;
}

.regular-price-strike {
  text-decoration: line-through;
}

.discount-price {
  color: #F8606A;
}

.course-more-info {
  width: 240px;
}

.btn-courses {
  margin: 60px auto;
  display: block;
}


/* newsletter */

#front-newsletter {
  background-color: #fff;
  padding: 2.5em 0;
  margin-bottom: 3em;
}

#front-newsletter h2 {
  padding-bottom: 0.2em;
}

.brona-newsletter label {
  display: block;
}

.sib-form {
  font-family: 'Poppins', sans-serif !important;
  padding: 0 !important;
  margin: 0;
}

.sib-form-block {
  padding: 0 !important;
}

.site-footer .sib-form .input {
  border: 1px solid #fff !important;
  background-color: #1e3d6b !important;
  color: #fff !important;
}

.brona-newsletter input[type="text"],
.brona-newsletter input[type="email"],
.footer-email-input {
  width: 539px;
  height: 36px;
  border: 1px solid #1e3d6b;
  background-color: #fff;
  color: #1e3d6b;
  margin-bottom: 1em;
  text-indent: 10px;
}

.newsletter-description {
  padding-top: 3.2em;
}

.newsletter-teacher-descriptionn {
  padding-top: 2.2em;
}

.newsletter-condition {
  color: #828282;
  font-size: 15px;
  padding-top: 1em;
}

.brona-newsletter .btn {
  margin-top: 1.5em;
}


/* front best content */

.content-courses h3,
.content-videos h3,
.content-quizes h3 {
  padding-top: 1em;
}

.feature-text ul,
.content-courses ul,
.content-videos ul,
.content-quizes ul {
  list-style: none;
  padding-left: 0;
}

.feature-text ul li,
.content-courses ul li,
.content-videos ul li,
.content-quizes ul li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
  margin-bottom: 1em;
}

.content-courses ul li a,
.content-videos ul li a,
.content-quizes ul li a {
  text-decoration: underline;
}

.content-videos ul li::before {
  content: "\f144";
}

.content-quizes ul li::before {
  content: "\f058";
}


.home .feature-text ul li::before {
  font-size: 24px;
  line-height: 1.2;
}

#front-content-columns .btn-invers {
  margin-top: 1em;
}

.post-front {
  display: flex;
  width: 100%;
  margin-bottom: 1em;
}

.post-image {
  width: 200px;
  margin-right: 2em;
}

.course-detail-text,
.post-content {
  flex-grow: 1;
}


/* articles */

.course-detail-image,
#signpost-products .post-image {
  width: 300px;
  flex-shrink: 0;
  /* Přidáno pro jistotu, aby se obrázek nezmenšoval */
}

#signpost-products .post-image {
  width: 320px;
}

#signpost-products .post-image img {
  width: 290px;
}

.course-detail-image img {
  width: 260px;
  height: auto;
  border-radius: 1em;
}

.post-articles {
  margin-bottom: 2.5em;
  display: flex;
  padding-right: 6em;
}

.course-content-detail {
  margin-bottom: 1em;
  display: flex;
}

.post-description {
  font-size: 15px;
}

.post-tags {
  margin-bottom: 1em;
}


/* signpost */

#signpost-products {
  display: flex;
  margin-top: 2em;
}

#signpost-filters h3 {
  display: inline-block;
  padding: 2em 0;
  width: 18%;
  margin-right: 10px;
}

.products-filters {
  width: 18%;
  margin-right: 1em;
}

.filter-box-container {
  font-size: 15px;
}

#signpost-products .post-items,
#signpost-products .products-items {
  width: 82%;
}

.firmy-items .course-item,
#teacher-highlights .item,
#signpost-highlights .item {
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  background-color: #fff;
  min-height: 290px;
  position: relative;
  padding: 2em;
  font-size: 15px;
  display: flex;
  flex-direction: column;
}

#signpost-highlights .item {
  padding-bottom: 1em;
}

#teacher-highlights .item {
  min-height: 330px;
}

.highlights-more {
  display: flex;
  margin-top: auto;
}

.firmy-items .course-item {
  padding: 0;
  border: 0;
}

.firmy-items .course-title {
  padding-top: 0;
}

.firmy-items .course-item .btn,
#signpost-highlights .item .btn {
  margin: 0 auto 1em auto;
}

#signpost-products .course-more-info {
  width: 200px;
}

#signpost-products .course-more-info .btn {
  width: 190px;
}

#signpost-products .course-more-info .btn:hover {
  color: #fff;
  background-color: #5271ff;
  text-decoration: none;
}


/* for teachers */

#teacher-references {
  width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Navigation buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.carousel-button {
  background-color: #fff;
  color: #1E3D6B;
  border: 1px solid #1E3D6B;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-button:hover {
  background-color: #1E3D6B;
  color: #fff;
}

.carousel-nav fas {
  font-weight: 700;
}

.reference-pager {
  text-align: center;
  margin-top: 3em;
}

.pager-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pager-dot.active {
  background-color: #5271FF;
}

.reference-item {
  flex: 0 0 1100px;
  margin: 0 100px;
  background-color: #D7EBF1;
  border-radius: 5px;
}

.reference-item-inner {
  display: flex;
  padding: 2em 3em;
}

.reference-image {
  width: 100px;
  padding-right: 30px;
  flex-shrink: 0;
}

.reference-image img {
  width: 100px;
  height: auto;
}

.reference-name {
  width: 170px;
  font-weight: 700;
}

.reference-text {
  width: 720px;
  font-style: italic;
}


/* filters */

.filter-toggle .dashicons {
  display: none;
}

.container-filter {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.5em;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-filter input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  width: 16px;
  border-radius: 4px;
  border: 1px solid #1E3D6B;
}

/* On mouse-over, add a grey background color */
.container-filter:hover input~.checkmark {
  background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.container-filter input:checked~.checkmark {
  background-color: #1E3D6B;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-filter input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-filter .checkmark:after {
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.filter-box .toggle-icon {
  cursor: pointer;
  float: right;
  font-size: 16px;
}

.filter-box.open .filter-box-container {
  display: block;
  /* Zobrazí obsah při rozbalení */
}

.filter-box.open .toggle-icon {
  content: "\f345";
  /* Změní ikonu na "arrow-up" */
}

.filter-stupen .filter-box-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}


/* content */

#content {
  padding-bottom: 3em;
}


/* detail post */

.post-mainpart,
.post-meta-box {
  display: flex;
  width: 100%;
  padding: 0;
}

.feature-post h1 {
  font-size: 48px;
  line-height: 56px;
  padding-bottom: 0.5em;
}

.category-inner,
.inglish-program-inner,
.course-faq-inner,
.feature-course,
.course-perex-inner,
.post-author,
.post-meta-author,
.post-table-content {
  display: flex;
}

.one-third,
.table-content-label,
.entry-sidebar,
.meta-author-info,
.feature-post-image {
  width: 33.34%;
}

.category-onlinetesty .meta-author-info,
.two-third,
.table-content-anchors,
.entry-content,
.post-table-content,
.feature-post-perex {
  width: 100%;
}

.course-faq-content,
.table-content-anchors {
  width: 75%;
}

div#ez-toc-container .ez-toc-title {
  display: none !important;
}

.post-author-perex {
  width: 80%;
  max-width: 640px;
}

.feature-course-image {
  width: 60%;
}

.feature-course-image iframe {
  width: 100%;
  height: auto;
}

.feature-course-text {
  width: 40%;
  box-sizing: border-box;
  padding: 0 2em;
}

.category-inner,
.entry-content {
  margin-bottom: 3em;
}

.entry-content ul {
  margin-bottom: 1em;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.meta-author-name {
  flex-grow: 1;
}

.post-perex,
.post-meta-author {
  margin-bottom: 1em;
}

.category-onlinetesty .post-perex {
  font-size: 19px;
}

.feature-post-perex {
  padding: 3em 3em 1.5em 3em;
}

.course-faq .post-author-image,
.table-content-label {
  width: 25%;
}

.post-author {
  padding: 3em 4em;
}

.post-author-image {
  width: 20%;
}

.meta-author-image {
  width: 120px;
}

.post-author-image img,
.meta-author-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.post-author-image img {
  width: 140px;
  height: 140px;
}

.inglishday section img,
.feature-course-image img,
.feature-post-image img {
  width: 100%;
  height: auto;
  display: block;
}

.inglishday section img {
  border-radius: 8px;
}

.my-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  justify-content: center;
}

.my-gallery img {
  width: 150px;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.my-gallery img:hover {
  transform: scale(1.05);
}

#cboxOverlay {
  background: rgba(0, 0, 0, 0.8) !important;
  width: 100%;
}

.feature-course-image img,
.feature-post-image img {
  border-radius: 0 8px 8px 0;
}

.post-meta-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.category-onlinetesty .post-meta-tags {
  grid-template-columns: repeat(4, 1fr);
}

.about-offer-links .btn-tags,
.post-meta-tags .btn-tags {
  width: auto;
  height: 30px;
  line-height: 30px;
  border: 1px solid #1E3D6B;
  background-color: #fff;
  color: #1E3D6B;
}

.about-offer-links .btn-tags:hover,
.post-meta-tags .btn-tags:hover {
  border: 1px solid #5271FF;
  background-color: #5271FF;
  color: #fff;
}

.table-content-anchors {
  line-height: 40px;
}

.single-post .category-blog h2 {
  font-size: 32px;
  line-height: 34px;
  font-weight: 500;
  clear: both;
  border-left: 4px solid #F8606A;
  padding-bottom: 0;
  margin: 1em 0;
  padding-left: 1em;
}

.post-share-icons {
  margin-bottom: 4em;
}

#ez-toc-container {
  border: 0 !important;
  display: block !important;
  box-shadow: none !important;
  padding: 0 !important;
}

#ez-toc-container a {
  color: #1E3D6B !important;
}

.ez-toc-title-toggle,
.entry-content #ez-toc-container {
  display: none !important;
}

.related-inner .post-articles {
  padding-right: 3em;
}


/* product */

.feature-course,
.single-produkt section {
  margin-bottom: 3em;
  background-color: #fff;
  border-radius: 1em;
}

.feature-course {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
}

.feature-course-meta,
.feature-course .course-price-more {
  margin: 2.5em 0;
}

.course-content-column {
  max-width: 850px;
}

.course-content,
.course-resume {
  padding: 3em;
  margin-bottom: 3em;
  background-color: #fff;
  border-radius: 10px;
}

.course-resume {
  background-color: #F1EDD7;
}

.course-faq {
  background-color: #D7EBF1;
  padding: 2em;
  border-radius: 10px;
}

.course-faq .course-faq-inner .wpsm_panel-group .wpsm_panel-default {
  border: 0 !important;
}

.course-faq .wpsm_panel-body {
  font-style: italic;
}

.error404 h3 {
  padding: 1em 0 0 0;
}

.course-review {
  padding: 3em;
  background: #F1EDD7;
  margin-bottom: 3em;
  border-radius: 10px;
}

.ratings-container {
  display: flex;
}

.course-review .btn-invers {
  margin: 0 auto;
}

#ratingsBarChart {
  max-height: 300px !important;
  /* Omezí výšku grafu */
}

.ratings-average {
  padding-right: 10px;
}

.ratings-average .fa-star {
  position: relative;
  top: -6px;
}

.ratings-average span {
  font-size: 25px;
  font-weight: 300;
  padding-left: 10px;
  white-space: nowrap;
}

.ratings-vizual {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 0;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.rating-label {
  width: 50px;
  /* Fixní šířka popisku hvězdiček */
  text-align: right;
  font-size: 16px;
  margin-right: 10px;
}

.rating-bar {
  flex-grow: 1;
  height: 20px;
  background-color: #fff;
  /* Světlé pozadí pro nevyplněnou část */
  overflow: hidden;
  position: relative;
}

.rating-fill {
  height: 100%;
  background-color: #FFCF4D;
  /* Žlutá pro vyplněné hodnocení */
  transition: width 0.3s ease-in-out;
  /* Animace při změně */
}

#review_form_wrapper {
  margin-bottom: 2em;
  display: none;
}

.woocommerce #review_form #respond p {
  margin: 0;
}

.woocommerce #review_form #respond p.stars {
  padding-bottom: 0;
}

.woocommerce p.stars a {
  margin-right: 5px;
}

.woocommerce p.stars a::before {
  color: #FFCF4D;
  font-size: 24px;
}

.review-item {
  display: flex;
  padding: 1em 0;
  border-top: 1px solid #d9d9dd;
}

.review-item-name {
  width: 33.3%;
}

.review-item-comment {
  width: 66.6%;
  font-style: italic;
}

.course-buy-box {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 1em;
  justify-content: center;
  /* Centrované vodorovně */
  align-items: center;
  /* Centrované svisle */
  margin-bottom: 2em;
}

.buy-box-image {
  width: 25%;
}

.buy-box-price {
  width: 10%;
}

.buy-box-title,
.buy-box-button {
  width: 35%;
  text-align: center;
}

.buy-box-button {
  width: 30%;
}

.buy-box-title,
.buy-box-price {
  font-weight: 600;
}

.buy-box-image img {
  border-top-left-radius: 1em;
  border-bottom-left-radius: 1em;
  display: block;
}

.single-product .course-price {
  font-size: 17px;
  font-weight: bold;
}

/* inglis day */

.inglishday .two-third {
  box-sizing: border-box;
  padding: 0 1em;
}

.inglishday .two-third.course-faq {
  padding: 2em;
}

.inglishday .course-review {
  margin-bottom: 0;
}

.category-inner .two-third,
.inglish-info-inner .two-third {
  padding: 0 2em;
}

.inglishday section {
  padding: 2em 0;
}

#inglish-program h2 {
  text-align: center;
  margin: 0 auto;
}

.inglis-content-inner h2 {
  text-align: center;
}

.inglis-content-inner a {
  color: #5271FF;
}

.inglis-content-inner .btn-invers {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

#inglish-who h2 {
  margin-top: 1em;
}

.inglishday #inglish-references .two-third {
  padding: 0;
}

.inglish-video-box {
  max-width: 800px;
  margin: 0 auto;
}


/* quiz detail */

.quiz-download-block {
  display: flex;
  background-color: #fff;
  border-radius: 1em;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70px;
  margin-bottom: 2em;
}

.quiz-download-description {
  width: 50%;
}

.quiz-download-title,
.quiz-download-button {
  width: 25%;
}

.quiz-download-title h3 {
  padding-bottom: 0;
}

.quiz-download-button a.btn-invers {
  width: 200px;
  color: #1E3D6B;
  font-weight: bold;
}

.quiz-download-button a.btn-invers:hover {
  background-color: #1E3D6B;
  color: #fff;
}





/* docasne */

.alignleft {
  float: left;
  padding-right: 2em;
  padding-bottom: 2em;
}

.alignright {
  float: right;
  padding-left: 2em;
  padding-bottom: 2em;
}


/* Výchozí styl tlačítek WooCommerce */

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  border-radius: 22px;
  width: 245px;
  height: 44px;
  line-height: 44px;
  background-color: #1E3D6B !important;
  border: 1px solid #1E3D6B;
  color: #fff;
  text-align: center;
  padding: 0;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit {
  width: 200px;
  font-weight: 400;
  height: 42px;
  line-height: 42px;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
  background-color: #5271FF !important;
  border: 1px solid #5271FF;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover {
  color: #fff;
}


/* cash order payment */

.woocommerce-message {
  margin: 0 0 1em 0;
  background-color: #f6f5f3;
  color: #1E3D6B;
  border-top: 3px solid #1E3D6B;
}

.woocommerce-checkout .entry-content {
  width: 100%;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  padding: 0 !important;
  font-size: 120% !important;
}

.payment_method_gopay-inline img {
  width: 30px;
  height: auto;
}

.checkout-columns {
  display: flex;
  gap: 2em;
}

.checkout-columns>#customer_details,
.checkout-columns>#payment {
  width: 50%;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  float: none;
  width: 98%;
}

.woocommerce table.shop_table {
  border: 0;
}

.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout .product-name .product-quantity {
  display: none;
}

.woocommerce-checkout .product-image img {
  border-radius: 1em;
}

.woocommerce-checkout .product-remove a.remove {
  color: #909090 !important;
  font-size: 0.9em;
}

.woocommerce-checkout .product-remove a.remove:hover {
  color: #F8606A !important;
  background: transparent;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
  border-top: 0;
  background-color: transparent;
  padding: 1em 2em 1em 1.5em;
}

.woocommerce-checkout .cart-subtotal,
.woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}

.woocommerce table.shop_table tfoot th {
  font-weight: 600;
}

.product-title-checkout,
.woocommerce-checkout table.shop_table .order-total th {
  font-weight: 600;
  font-size: 18px;
}

.woocommerce-privacy-policy-text,
.woocommerce-checkout .validate-required,
.woocommerce-checkout table.shop_table .dph-info {
  font-weight: 400;
  color: #909090;
}

.woocommerce-privacy-policy-text a,
.woocommerce-checkout .validate-required a {
  color: #909090;
  text-decoration: underline;
}

.woocommerce-privacy-policy-text a:hover,
.woocommerce-checkout .validate-required a:hover {
  color: #777;
  text-decoration: none;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce-checkout button.button.alt {
  background-color: #F8606A !important;
  border: 1px solid #F8606A;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  float: none;
}

.woocommerce-checkout #payment {
  background: #fff !important;
}

.gopay_select:hover {
  background-color: #D7EBF1 !important;
}

.billing-business-field {
  transition: all 0.3s ease;
}




.woocommerce-billing-fields #billing_address_1_field,
.woocommerce-billing-fields #billing_city_field,
.woocommerce-billing-fields #billing_postcode_field {
  display: none !important;
}

/* page vse od broni */

.all-products h2 {
  font-size: 24px;
}

.all-products table {
  width: 95%;
  margin-bottom: 1em;
}

.all-products table td:nth-child(2) {
  text-align: right;
}

.all-products table .regular-price,
.all-products table .regular-price-strike,
.all-products table .discount-price {
  white-space: nowrap;
}

.star-highlight-violet,
.star-highlight {
  color: #F87760;
  font-weight: bold;
}

.star-highlight-violet {
  color: #5271FF;
}

.note-star {
  font-size: 0.9em;
  font-style: italic;
  margin-top: 10px;
}


/* about */

#about-offer,
#about-partners,
#about-media {
  margin-bottom: 3em;
}

.media-item {
  margin-bottom: 1.5em;
}

.media-item a {
  text-decoration: underline;
}

.media-item a:hover {
  text-decoration: none;
}

.media-item-meta {
  color: #828282;
}

.about-offer .grid-two-colums {
  gap: 4em;
}

.about-offer-content {
  display: flex;
}

.about-offer-image {
  width: 150px;
  padding-right: 2em;
}

.about-offer-links {
  flex-grow: 1;
}

.about-offer-links a.btn-tags {
  float: left;
  width: 43%;
  padding: 0;
  margin: 0.5em 5% 0.5em 0;
}

.about-offer-item h2 {
  padding-bottom: 0.5em;
}


/* courses member section */

.sensei .entry-content section {
  padding: 2em 2em 0 2em;
}

.course-content h3.course-title {
  font-size: 20px;
}

.sensei-course-theme:is(.sensei-video, .sensei-modern, .sensei-video-full) .wp-block-post-title {
  margin-bottom: 0 !important;
}

.editor-styles-wrapper .wp-block .wp-block-sensei-lms-course-theme-course-progress-counter,
.wp-block-sensei-lms-course-theme-course-progress-counter,
.course-container .course .sensei-course-meta {
  color: #555 !important;
  font-size: .9em;
}

.sensei-lms-course-navigation-module__summary {
  color: #555 !important;
}

.sensei-course-theme:is(.sensei-modern) .sensei-course-theme__sidebar {
  border: 1px solid #555 !important;
}

.course:not(body),
.course-container,
.course-container .course {
  margin: 0 0 1em;
  padding: 0 0 1em;
  border-bottom: 0;
}

.sensei-course-theme .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-outline .wp-block-button__link,
.sensei-course-theme .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-default .wp-block-button__link,
.editor-styles-wrapper .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-outline .wp-block-button__link,
.editor-styles-wrapper .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-default .wp-block-button__link {
  border: solid 2px #1E3D6B !important;
  color: #1E3D6B !important;
}

.sensei-course-theme .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-outline .wp-block-button__link:hover,
.sensei-course-theme .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-default .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-outline .wp-block-button__link:hover,
.editor-styles-wrapper .wp-block-sensei-lms-lesson-actions .wp-block-sensei-button.wp-block-button.is-style-default .wp-block-button__link:hover {
  background-color: #1E3D6B !important;
  color: #fff !important;
}

.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.is-primary,
.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.wp-block-button:not(.is-style-outline, .is-style-link),
.sensei-course-theme .wp-block-button.is-primary,
.sensei-course-theme .wp-block-button.wp-block-button:not(.is-style-outline, .is-style-link),
.sensei-course-theme__button.is-primary,
.sensei-course-theme__button.wp-block-button:not(.is-style-outline, .is-style-link) {
  background-color: #1E3D6B !important;
  border: solid 2px #1E3D6B !important;
  color: #fff !important;
}

.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.is-primary:hover,
.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.wp-block-button:not(.is-style-outline, .is-style-link):hover,
.sensei-course-theme .wp-block-button.is-primary,
.sensei-course-theme .wp-block-button.wp-block-button:not(.is-style-outline, .is-style-link):hover,
.sensei-course-theme__button.is-primary,
.sensei-course-theme__button.wp-block-button:not(.is-style-outline, .is-style-link):hover {
  background-color: #fff !important;
  color: #1E3D6B !important;
}

.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.is-primary,
.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.is-secondary,
.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.is-link,
.editor-styles-wrapper .sensei-course-theme__main-content .wp-block-button.wp-block-button>.wp-block-button__link,
.sensei-course-theme .wp-block-button.is-primary,
.sensei-course-theme .wp-block-button.is-secondary,
.sensei-course-theme .wp-block-button.is-link,
.sensei-course-theme .wp-block-button.wp-block-button>.wp-block-button__link,
.sensei-course-theme__button.is-primary,
.sensei-course-theme__button.is-secondary,
.sensei-course-theme__button.is-link,
.sensei-course-theme__button.wp-block-button>.wp-block-button__link {
  font-size: 16px !important;
}


/* popup */

.popmake-content p {
  padding-bottom: 0;
}

.popmake-content img {
  display: block;
}


/* pagination */

.sensei-pagination .page-numbers,
.pagination {
  text-align: center;
  margin-bottom: 2em;
}

.sensei-pagination .page-numbers li,
.post-items .page-numbers,
.search-results .page-numbers {
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #1E3D6B;
  color: #1E3D6B;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: bold;
}

.sensei-pagination .page-numbers {
  display: block;
}

.page-numbers.dots {
  border: 0;
}

.post-items .current,
.search-results .current,
.sensei-pagination .page-numbers li:hover,
.post-items .page-numbers:hover,
.search-results .page-numbers:hover {
  border: 1px solid #1E3D6B;
  background-color: #5271FF;
  color: #fff;
  text-decoration: none;
}

.sensei-pagination .page-numbers li:hover a {
  color: #fff;
  text-decoration: none;
}

.grecaptcha-badge {
  display: none;
}


/* footer */

.site-footer {
  background-color: #1e3d6b;
  color: #fff;
  font-size: 14px;
  padding: 4em 0 1em 0;
  margin-top: 3em;
}

.site-footer a {
  color: #fff;
}

.site-footer .container,
.footer-third {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.footer-third {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 3em;
}

.footer-half {
  line-height: 1.8;
}

.footer-third.last {
  grid-template-columns: repeat(1, 1fr);
}

.footer-title {
  color: #fff;
}

.footer-email-input {
  width: 346px;
  height: 28px;
  border: 1px solid #fff;
  background-color: #1e3d6b;
  color: #fff;
}

.footer-newsletter .btn-footer {
  cursor: pointer;
  line-height: 30px;
  font-weight: bold;
}

.social-share i,
.social-footer {
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
}

.fa-icons::before {
  line-height: 39px;
}

.fa-envelope-open::before {
  line-height: 35px;
}

.post-share-icons .social-share {
  display: inline-block;
  line-height: 44px;
}

.post-share-icons .social-share i,
.brona-social .social-footer {
  width: 40px;
  height: 40px;
  background-color: #5271ff;
  color: #fff;
}

.brona-social .social-footer {
  line-height: 44px;
}

.social-share .fa-icons,
.brona-social .fa-brands {
  font-size: 26px;
}

.site-footer .social-footer {
  color: #1e3d6b;
}

.copyright {
  font-size: 12px;
  text-align: center;
}

.copyright a {
  color: #5271ff;
}


@media screen and (max-width: 1340px) {

  .container {
    width: 1220px;
  }

  #front-feature {
    padding: 3.5em;
  }

  #front-feature .btn {
    width: 215px;
  }

  #front-feature .btn {
    width: 215px;
  }

  #front-feature .btn-red {
    width: 245px;
  }

}

/* for notebooks 1220 */

@media screen and (max-width: 1220px) {

  .container {
    width: 960px;
  }

  .site-header {
    height: 83px;
  }

  #filter-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-header .main-navigation {
    display: none;
  }

  .mobile-navigation.show {
    display: block;
    /* Zobrazí menu po kliknutí na hamburger */
    padding: 1em 0;
  }

  .mobile-navigation ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-navigation ul li {
    text-transform: uppercase;
  }

  .mobile-navigation ul a {
    display: block;
    width: 100%;
    padding: 0.5em 1em;
  }

  #teacher-references {
    max-width: 960px;
  }

  #front-feature .btn-red {
    margin-left: 0;
    margin-top: 1em;
  }

  #front-products .course-more-info {
    width: 180px;
  }

  #front-products .course-more-info .btn {
    width: 170px;
  }

  .inglish-who-inner .one-third img {
    height: 266px;
  }

  /* carousel 768 */

  .reference-item {
    flex: 0 0 810px;
    margin: 0 75px;
  }

  .reference-item-inner {
    flex-direction: column;
    text-align: center;
  }

  .reference-image {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .reference-name {
    width: auto;
    margin-bottom: 10px;
  }

}


/* for tablets 768 */

@media screen and (max-width: 960px) {

  .container {
    width: 768px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 18px;
  }

  .cart-link {
    margin-right: 45px;
  }

  .menu-toggle {
    font-size: 25px;
  }

  #front-feature .btn-red {
    margin-left: 1em;
    margin-top: 0;
  }

  #signpost-highlights,
  #front-products .products-items,
  .home .products-items,
  .grid-three-colums,
  #online-quizes .quizes-items,
  #teacher-highlights,
  .firmy-items,
  #front-highlights,
  #signpost-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
  }

  #signpost-products {
    display: block;
  }

  .products-filters,
  #signpost-products .products-items,
  #signpost-products .post-items {
    width: 100%;
  }

  .products-items {
    margin-right: 0;
  }

  .post-articles {
    padding-right: 0;
  }

  .page .entry-content,
  .single-course .entry-content {
    width: 100%;
  }

  .page-id-34 #content.container,
  .footer-third,
  #front-newsletter .container,
  #front-content-columns {
    grid-template-columns: repeat(1, 1fr);
  }

  #signpost-highlights .item {
    min-height: 220px;
  }

  .filter-box-container {
    display: none;
    padding-left: 1em;
  }

  .filter-box {
    border: 2px solid #1E3D6B;
    margin-bottom: 1em;
    border-radius: 0.5em;
  }

  /* Nadpis s tlačítkem pro rozbalení */
  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
  }

  .filter-toggle .dashicons {
    display: inline-block;
  }

  /* Šipka */
  .filter-toggle .dashicons {
    transition: transform 0.3s ease;
  }

  /* Otočení šipky při rozbalení */
  .filter-box.open .dashicons {
    transform: rotate(180deg);
  }

  .post-image {
    width: 300px;
  }

  .reference-item {
    flex: 0 0 600px;
  }

  .reference-item-inner {
    padding: 1.5em 2em;
  }

  .reference-image {
    padding-right: 20px;
  }

  .entry-content,
  .reference-text {
    width: 100%;
  }

  #teacher-references {
    width: 768px;
  }

  .reference-name,
  .reference-image {
    padding-right: 0;
    margin-bottom: 1em;
    width: 100%;
  }

  .reference-image img {
    display: block;
    width: 130px;
    height: auto;
    margin: 0 auto;
  }

  .about-offer-links a.btn-tags {
    float: none;
    width: 100%;
  }

  .partners-image img {
    width: 100%;
    height: auto;
  }

  .inglish-who-inner .one-third img {
    height: 208px;
  }

  #inglish-faq .two-third,
  #inglish-references .two-third,
  #inglish-price .two-third {
    width: 100%;
  }

}


/* for smartphones 460 */

@media screen and (max-width: 768px) {

  .mobil-title,
  h1 {
    font-size: 23px;
    line-height: 27px;
  }

  h2 {
    font-size: 19px;
    line-height: 29px;
    font-weight: bold;
  }

  h3 {
    font-size: 18px;
    font-weight: bold;
  }

  .container {
    width: 460px;
  }

  .site-header .container {
    display: grid;
  }

  .site-header {
    height: 120px;
  }

  #logo {
    display: flex;
    order: 2;
  }

  #user-feature {
    width: 360px;
    order: 1;
    padding-top: 1em;
    display: flex;
  }

  #front-products .products-items,
  .home .products-items,
  .site-header .container,
  #teacher-highlights,
  #book-products .products-items,
  #signpost-feature,
  .home .products-items,
  #online-quizes .quizes-items,
  .firmy-items,
  .grid-two-colums,
  .site-footer .container,
  #filter-results {
    grid-template-columns: repeat(1, 1fr);
  }

  .post-author,
  .feature-post,
  #signpost-feature,
  .home #front-feature,
  #front-feature {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .home #front-feature,
  #front-feature {
    padding-top: 1em;
  }

  .mobil-title {
    display: block;
    font-weight: 700;
  }

  .feature-text h1 {
    display: none;
  }

  #front-feature,
  #signpost-feature {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "text";
  }

  .feature-kontakt,
  .feature-newsletter,
  .feature-firmy,
  .feature-photo,
  .feature-kvizy,
  .feature-knihy,
  .feature-video {
    height: 300px;
    min-height: auto;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 2;
    background-size: cover;
    /* Ořízne obrázek tak, aby vyplnil prostor */
    background-position: center;
    background-repeat: no-repeat;
  }

  .feature-image img {
    width: 100%;
    height: auto;
  }

  .container.half,
  .all-products,
  .course-content-detail,
  .inglish-info-inner,
  .post-articles,
  .about-offer-content,
  .post-front,
  .post-mainpart,
  .post-meta-box,
  .ratings-container,
  .post-author,
  .post-table-content,
  .inglish-info-inner,
  .inglish-who-inner,
  .inglish-program-inner,
  .review-item,
  .course-faq-inner,
  .course-perex-inner,
  .feature-course {
    display: block;
  }

  .all-products table,
  .course-detail-image,
  .btn-invers,
  .two-third,
  .one-third,
  .products-items,
  .table-content-anchors,
  .table-content-label,
  .post-author-perex,
  .meta-author-info,
  .post-table-content,
  .review-item-name,
  .review-item-comment,
  .course-faq .post-author-image,
  .course-faq-content,
  .post-author-image,
  .feature-course-text,
  .feature-course-image {
    width: 100%;
  }

  #front-newsletter {
    margin-bottom: 1em;
  }

  #teacher-references,
  #teacher-highlights {
    padding: 1.5em 0;
  }

  #front-highlights .item {
    padding: 1em;
  }


  /* přehození prvků mobil */

  #signpost-feature {
    flex-direction: column;
  }

  .feature-heading {
    order: 1;
  }

  .feature-image-test {
    order: 2;
  }

  .feature-description {
    order: 3;
  }

  .newsletter-description {
    padding-top: 1em;
  }

  .brona-newsletter input[type="text"],
  .brona-newsletter input[type="email"],
  .footer-email-input {
    width: 440px;
    height: 36px;
  }

  #front-feature h1 .fa-heart {
    font-size: 25px;
    margin-left: 7px;
  }

  .home #front-feature .btn,
  .btn-red {
    margin: 1em auto 0 auto;
    width: 280px;
    display: block;
  }

  .post-articles,
  .meta-author-info {
    margin-bottom: 1em;
  }

  .course-perex,
  .feature-course-text {
    padding: 1em;
  }

  .course-faq h2,
  .course-perex h2 {
    text-align: center;
  }

  .ratings-average {
    padding-right: 0;
    padding-bottom: 2em;
  }

  .feature-course-meta,
  .feature-course .course-price-more {
    margin: 1em 0;
  }

  .post-meta-box div#ez-toc-container {
    background: #f6f5f3;
  }

  .single-post h2 {
    font-size: 19px;
    line-height: 29px;
    border-left: 3px solid #F8606A;
    padding-bottom: 0;
    margin: 1em 0;
    padding-left: 0.5em;
  }

  .related-inner {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .related-inner .post-articles {
    padding-right: 0;
  }

  .feature-post h1 {
    font-size: 23px;
    line-height: 27px;
  }

  .post-author-image img {
    width: 234px;
    height: 234px;
    display: block;
    margin: 0 auto 1em auto;
  }

  .feature-course-image {
    margin-bottom: 2em;
  }

  .course-review,
  .course-content,
  .course-resume {
    padding: 1em;
    margin-bottom: 2em;
  }

  .course-buy-box {
    background-color: transparent;
  }

  .buy-box-image,
  .buy-box-price {
    width: 50%;
  }

  .buy-box-price {
    text-align: center;
  }

  .buy-box-title {
    display: none;
  }

  .buy-box-button {
    width: 100%;
    margin-top: 1em;
  }

  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
  :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt,
  :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
  :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
  :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    width: 100%;
  }

  .btn-courses {
    margin: 2em auto;
  }

  #signpost-highlights .item {
    padding: 1em;
  }

  .reference-name {
    text-align: center;
  }

  .reference-image img {
    display: block;
    margin: 0 auto;
    width: 130px;
    height: auto;
  }

  .two-third img,
  .one-third img,
  iframe {
    width: 100%;
    height: auto;
  }

  .inglishday .two-third.course-faq {
    padding: 1em;
  }

  .inglish-who-inner .one-third,
  .inglish-who-inner .two-third {
    width: 100%;
  }

  .moje-galerie {
    grid-template-columns: repeat(3, 1fr);
  }

  .my-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  .anglictinazdarma #front-feature,
  .podcast #front-feature {
    padding: 0;
  }

  .anglictinazdarma .feature-text h2,
  .podcast .feature-text h2 {
    font-size: 19px;
  }

  .podcast iframe {
    width: 100%;
    height: 1182px;
  }

  .post-author-image img {
    max-width: 234px;
  }

  .course-detail-image img {
    width: 100%;
  }

  .inglishday section {

    padding: 1em 0;
  }

  .inglish-info-inner img {
    margin-bottom: 2em;
  }

  #inglish-faq h2 {
    padding-top: 1em;
  }

  .all-products table .regular-price-strike {
    display: none;
  }

  #signpost-products .post-image,
  .post-image {
    width: 100%;
    margin-right: 0;
  }

  #signpost-products .post-image img,
  .post-image img {
    width: 100%;
    height: auto;
  }

  .firmy-items .course-item {
    min-height: auto;
  }

  #company-logos {
    grid-template-columns: repeat(2, 1fr);
    margin: 1em auto;
    padding: 0;
  }

  #company-logos .item {
    height: auto;
    padding: 1em;
  }

  #company-logos .item img {
    width: 100%;
    height: auto;
  }

  .content-half .social-footer {
    width: 36px;
    height: 36px;
    line-height: 40px;
  }

  .content-half .social-footer .fa-brands {
    font-size: 24px;
  }

  #teacher-references {
    max-width: 460px;
  }

  /* carousel */

  .reference-item {
    flex: 0 0 100%;
    margin: 0;
  }

  .reference-item-inner {
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
    padding: 1.5em;
  }

  .reference-text {
    width: 100%;
  }


  /* Šipky absolutně umístěné */
  .carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

  .sensei .entry-content section {
    padding: 1em 0.5em;
  }

  .checkout-columns {
    flex-direction: column;
  }

  #payment {
    order: 2;
  }

  #customer_details {
    order: 1;
  }

  .checkout-columns>#customer_details,
  .checkout-columns>#payment {
    width: 100%;
  }

  .woocommerce-checkout-review-order-table,
  .woocommerce-checkout-review-order-table tbody,
  .woocommerce-checkout-review-order-table tr {
    display: block;
    width: 100%;
  }

  .product-detail-meta,
  .woocommerce-checkout .product-image img {
    display: none;
  }

  .woocommerce-checkout .product-image {
    width: 2%;
    padding: 9px 0;
    display: none;
  }

  .woocommerce-checkout .product-remove {
    width: 27px;
  }

  .woocommerce-checkout-review-order-table {
    display: table;
    table-layout: fixed;
    width: 100%;
  }

  .woocommerce-checkout-review-order-table .cart_item .product-name,
  .woocommerce table.shop_table tfoot th {
    width: 60%;
  }

}


/* for smartphones 300 */

@media screen and (max-width: 460px) {

  #user-feature,
  .container {
    width: 300px;
  }

  .brona-newsletter input[type="text"],
  .brona-newsletter input[type="email"],
  .footer-email-input {
    width: 300px;
    height: 32px;
  }

  .course-more-info {
    width: 172px;
  }

  .course-more-info .btn {
    width: 170px;
  }

  .reference-item-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .reference-image,
  .reference-name {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }

  .reference-name {
    margin-left: 10px;
  }

  .reference-text {
    width: 100%;
    text-align: center;
  }

  .my-gallery,
  #front-highlights,
  .container.half {
    grid-template-columns: repeat(1, 1fr);
  }

  #signpost-highlights .item {
    min-height: 285px;
  }

  .feature-kontakt,
  .feature-newsletter,
  .feature-firmy,
  .feature-photo,
  .feature-kvizy,
  .feature-knihy,
  .feature-video {
    height: 200px;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .course-faq {
    padding: 1em;
  }

  #teacher-references {
    max-width: 300px;
  }

  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

}


/* pro firmy */



/* Mobile responsive styles */
@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }

  .container.category-inner {
    flex-direction: column;
  }

  #teacher-highlights {
    flex-direction: column !important;
  }

  #teacher-highlights .item {
    flex: none !important;
    margin-bottom: 1.5em;
  }

  #teacher-highlights .item:last-child {
    margin-bottom: 0;
  }
}