.itinerary-container {
    width: 100%;
}

/* Desktop styles - inherit your existing styles */
.itinerary-item {
    display: flex;
    margin-bottom: 2rem;
    font-family: "Quicksand", Sans-serif;
}

.itinerary-day {
    margin-right: 20px;
    position: relative;
    bottom: 5px;
    border: 2px solid #E18B2A;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.day-number {
    font-size: 2rem;
    font-weight: 600;
    color: #E18B2A;
    margin: 0;
}

.name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E18B2A;
    margin: 0 0 5px 0;
}

.description {
    color: #4e2e21;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.content-container {
    flex-grow: 1;
}

.itinerary-item.free-day {
    opacity: 0.8;
}

.itinerary-item.free-day .name {
    font-style: italic;
    color: #666;
}

/* Mobile collapsible elements - hidden on desktop */
.mobile-header {
    display: none;
}

.mobile-content {
    display: none;
}

/* Mobile and Tablet specific styles (1024px and below) */
@media (max-width: 640px) {
    /* Hide desktop version */
    .desktop-version {
        display: none !important;
    }
    
    /* Show mobile version */
    .mobile-header {
        display: flex;
    }
    
    .mobile-content {
        display: block;
    }
    
    /* Mobile itinerary item becomes a card */
    .itinerary-item {
        display: block;
        margin-bottom: 5px;
        overflow: hidden;
        font-family: "Quicksand", Sans-serif;
    }
    
    /* Mobile header - clickable */
    .mobile-header {
        align-items: center;
        padding: 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    /* Mobile day circle - smaller */
    .mobile-header .itinerary-day {
        margin-right: 15px;
        margin-bottom: 0;
        position: static;
        border: 2px solid #E18B2A;
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }
    
    .mobile-header .day-number {
        font-weight: 600;
        color: #E18B2A;
        margin: 0;
    }
    
    /* Mobile title area */
    .mobile-title-container {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-width: 0; /* Prevent flex overflow */
    }
    
    .mobile-header .name {
        font-size: 1.2rem;
        font-weight: 600;
        color: #E18B2A;
        margin: 0;
        flex: 1;
        padding-right: 10px;
        word-wrap: break-word;
    }
    
    /* Toggle icon */
    .toggle-icon {
        width: 20px;
        height: 20px;
        background-image: url("https://baloo.devwp.cz/wp-content/uploads/2025/06/chevron-down-solid-1.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .toggle-icon.expanded {
        transform: rotate(180deg);
    }
    
    /* Mobile content - collapsible */
    .mobile-content {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    
    .mobile-content.expanded {
        max-height: 500px;
        padding: 20px;
    }
    
    .mobile-content .description {
        color: #4e2e21;
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 1.6;
        margin: 0;
    }
    
    /* Free day styling for mobile */
    .itinerary-item.free-day {
        opacity: 0.8;
    }
    
    .itinerary-item.free-day .mobile-header .name {
        font-style: italic;
        color: #888;
    }
}

/* Tablet specific adjustments */
@media (max-width: 640px) {
    .mobile-header {
        padding: 18px;
    }
    
    .mobile-header .itinerary-day {
        width: 2.3rem;
        height: 2.3rem;
        margin-right: 12px;
    }
    
    .mobile-header .name {
        font-size: 1.1rem;
    }
    
    .mobile-content.expanded {
        padding: 18px;
    }
    
    .mobile-content .description {
        font-size: 1rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .itinerary-item {
        margin-bottom: 12px;
    }
    
    .mobile-header {
        padding: 15px;
    }
    
    .mobile-header .itinerary-day {
        width: 2rem;
        height: 2rem;
        margin-right: 10px;
    }
    
    .mobile-header .name {
        font-size: 1rem;
    }
    
    .mobile-content.expanded {
        padding: 15px;
    }
    
    .mobile-content .description {
        font-size: 0.95rem;
    }
}

.dates-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.dates-table th,
.dates-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.dates-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.past-date {
    opacity: 0.6;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-per-person-discounted {
    text-decoration: line-through;
    font-size: 0.9em;
    color: #999;
}

.single_add_to_cart_button {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .dates-table {
        font-size: 12px;
    }
    
    .dates-table th,
    .dates-table td {
        padding: 8px 4px;
    }
    
    /* Option 1: Hide less important columns on mobile */
    .dates-table th:nth-child(4),
    .dates-table td:nth-child(4) {
        display: none;
    }
    
    .terminy-a-ceny .dates-cards .single_add_to_cart_button {
        background-color: #e18b2a !important;
        border-radius: 20px;
        font-weight: 400;
    }
}

@media screen and (max-width: 480px) {
    /* Option 2: Stack table as cards on very small screens */
    .dates-table-mobile {
        display: none;
    }
    
    .dates-cards {
        display: block;
    }
    
    /* Hide past dates on mobile */
    .date-card.past-date {
        display: none !important;
    }
    
    .date-card {
        margin: 15px 0;
        padding: 20px;
        position: relative;
    }
    
    /* Add divider between cards */
    .date-card:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -15px;
        width: 90%;
        height: 2px;
        border: 3px solid #e18b2a;
        border-radius: 3px;
    }
    
    .card-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 8px 0;
        flex-wrap: wrap;
    }
    
    .card-label {
        font-weight: bold;
        color: #4b241b;
        margin-right: 10px;
    }
    
    .card-value {
        flex: 1;
        text-align: right;
        color: #4b241b;
    }
    
    .card-actions {
        width: 100%;
        margin-top: 15px;
        display: flex;
        gap: 10px;
        justify-content: space-between;
        padding-top: 15px;
    }
    
    .card-actions a,
    .card-actions button {
        flex: 1;
        text-align: center;
    }
}

body {
	background-color: #fff5ed;
	font-family: 'Quicksand', sans-serif !important;
}

/*Blog*/
.blog-post {
	display: flex;
	margin: 50px 0px;
}

.blog-post-text {
	padding-left: 50px;
	align-content: center;
}

.blog-text {
	font-family: Quicksand, sans-serif;
	font-size: 20px;
}

.blog-nadpis {
	font-family: Quicksand, sans-serif;
	font-size: 25px;
	font-weight: 700;
	padding: 20px 0px;
}

.blog-obrazek {
	width: 50%;
	max-height: 600px
}

.post-content-preview {
	overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* počet řádků, které chcete zobrazit */
  -webkit-box-orient: vertical;
}

.post-title-preview {
	overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* počet řádků, které chcete zobrazit */
  -webkit-box-orient: vertical;
}

.team-posts {
	display: flex;
  flex-direction: row;
	justify-content: space-between;
}

.team-popis {
	font-family: Quicksand, sans-serif;
	font-size: 25px;
	font-weight: 500;
	padding: 20px 0px;
	text-align: justify;
	color: #4B241B;
	column-gap: 20px;
}
@media (min-width: 768px) {
    .kontakt .elementor-field-type-text, .kontakt .elementor-field-type-email, .kontakt .elementor-field-type-date, .kontakt .elementor-field-type-number  {
	    width: 50% !important;
    }
}


.kontakt .elementor-field-type-text input[type='text'], .kontakt .elementor-field-type-email input[type='email'],.kontakt .elementor-field-type-number input[type='number'], .kontakt .elementor-field-type-date input[type='text'] {
	padding: 12px;
}

.kontakt .elementor-field-type-textarea textarea {
	padding: 15px 12px;
}

.image-container {
	overflow: hidden; 
	position: relative;
}

.akcie-image {
	transition: transform .5s ease;
}
.akcie-image:hover {
	overflow: none;
	transform: scale(1.1);
}

.fa-square::before {
	border-radius: 15px 15px 5px 15px;
	border: solid 3px #4B241B;
	background-color: #4B241B;
}

.content-max-width .e-loop-item {
	max-width: 333px !important;
}

.itinerary-item .desktop-version {
  display: flex;
	margin-bottom: 2rem;
	font-family: "Quicksand", Sans-serif;
}

.itinerary-day {
  margin-right: 20px;
  position: relative;
  bottom: 5px;
  border: 2px solid #E18B2A;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.day-number {
	font-size: 2rem;
  font-weight: 600;
  color: #E18B2A;
}

.name {
  font-size: 1.5rem;
	font-weight: 600;
  color: #E18B2A;
}

.description {
  color: #4e2e21;
	font-size: 1.2rem;
  font-weight: 400;
}

.content-name {
	color: #4e2e21;
	font-size: 1.2rem;
	font-weight: 400;
	margin: 10px 0 0 0
}

.container-repeater {
	margin: 15px 0;
}

.content-description {
	color: #4e2e21;
	font-size: 1rem;
	font-weight: 400;
}

.icon-container {
  flex-shrink: 0;
}

.content-container {
  flex-grow: 1;
}

.content-container h3 {
  margin-top: 0;
  margin-bottom: 5px;
}

.price-included-item, .service-item {
  display: flex;
  margin-bottom: 20px;
	margin-top: 20px;
  align-items: flex-start;
}

.itinerary-item.free-day {
  opacity: 0.8;
}

.itinerary-item.free-day .name {
  font-style: italic;
  color: #666;
}

.service-item .icon-container {
	margin-top: 10px;
}

.icon-container img {
	margin-right: 16px;
  width: 25px;
  height: auto;
  vertical-align: top;
	filter: invert(24%) sepia(10%) saturate(1782%) hue-rotate(346deg) brightness(90%) contrast(92%);
}

.hidden, .woocommerce-notices-wrapper .woocommerce-message {
	display: none;
}

.wp-menu-image.dashicons-before img {
	width: 20px !important;
}

.tour-price-wrapper .tour-price .price-amount, .tour-price-wrapper .tour-price .price-suffix {
	font-size: 24px;
	font-weight: 700;
}

.tour-price-wrapper .tour-price .price-prefix {
	font-size: 16px;
}

.discount-badge-wrapper {
	display: flex;
	flex-wrap: wrap;
	background-image: url(https://baloo.devwp.cz/wp-content/uploads/2025/01/sale_tag.svg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	justify-content: center;
  align-content: center;
	height: 100px;
	width: 100px;
}

.discount-badge-wrapper .discount-badge {
	color: white;
	font-size: 24px;
	font-family: Quicksand, sans-serif;
	font-weight: 700;
	rotate: -12deg;
}

.terminy-a-ceny table.dates-table th {
	background-color: transparent !important;
	border-width: 0 0 4px 0;
	border-color: #e18b2a;
	color: #e18b2a;
	font-family: 'Quicksand', sans-serif;
	font-size: 20px;
    text-align: center;
}

.terminy-a-ceny table.dates-table td {
	border-width: 0;
	text-align: center;
	align-content: center;
	background-color: transparent !important;
	color: #4b241b;
	font-size: 16px;
    width: 100%;
}

.terminy-a-ceny table.dates-table td .single_add_to_cart_button.button.alt {
	background-color: #e18b2a;
	border-radius: 20px;
	font-weight: 400;
}

.elementor-shortcode .doplnkove-sluzby {
	color: #4b241b;
}

.elementor-shortcode .doplnkove-sluzby .service-details .service-name {
	font-size: 20px;
}

.elementor-shortcode .doplnkove-sluzby .service-details .service-description {
	font-size: 16px;
}

.date-row td:has(.pdf) {
	display: flex;
  justify-content: center;
}

.terminy-a-ceny .date-row td .pdf-wrapper, .terminy-a-ceny .date-card  .pdf-wrapper {
	width: 40px;
  height: 40px;
	border: 1px solid #4b241b;
	border-radius: 25px;
	align-content: center;
	color: #4b241b;
}

.date-row td .price-wrapper {
	display: flex;
  flex-direction: column;
}

.date-row td .price-wrapper {
	display: flex;
  flex-direction: column;
}

.date-row td .price-wrapper .price-per-person-discounted {
	font-size: 14px;
  text-decoration: line-through;
}

.past-date td:first-child,
.past-date td:nth-child(2) {
  color: #999999 !important;
}

.single_add_to_cart_button.button.alt {
	width: 100%;
}