/* stylelint-disable-next-line */
.single-tribe_events {

	.muse-event-post {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		gap: 30px;

		> .wp-block-group {
			background-color: var(--wp--preset--color--common-white);
			margin: 0;

			.muse-back-link {
				padding-bottom: 0;
			}

			&.muse-event-meta {
				display: flex;
				flex-direction: column;
				align-items: flex-start;
				gap: 15px;

				.muse-event-meta {
					display: flex;
					flex-direction: column;
					align-items: flex-start;
					gap: 15px;
				}

				h1 {

					&.wp-block-post-title {
						font-size: var(--wp--preset--font-size--large);
						font-family: var(--wp--preset--font-family--heading);
						font-style: normal;
						font-weight: var(--wp--custom--font-weight--semibold);
						line-height: 1;
						letter-spacing: 1.35px;
						color: var(--wp--preset--color--primary-dark);
						text-transform: none;
						margin: 0 !important;
						padding-bottom: 0;
					}
				}

				.wp-block-post-content {
					width: 100%;

					.tribe-events-schedule {
						margin: 0 !important;

						/* stylelint-disable-next-line */
						.tribe-events-schedule__datetime {
							display: flex;
							flex-direction: row;
							align-items: center;
							align-self: stretch;
							gap: 15px;

							/* stylelint-disable-next-line */
							.tribe-events-schedule__date {
								display: flex;
								flex-direction: row;
								align-items: center;
								justify-content: center;
								color: var(--wp--preset--color--text-primary);
								font-size: var(--wp--preset--font-size--caption);
								font-family: var(--wp--preset--font-family--body);
								font-style: normal;
								font-weight: var(--wp--custom--font-weight--semibold);
								line-height: normal;
								letter-spacing: 0.45px;

								svg {
									margin-right: 11px;
								}
							}

							/* stylelint-disable-next-line */
							.tribe-events-schedule__time {
								display: flex;
								flex-direction: row;
								justify-content: center;
								align-items: center;
								gap: 5px;
								color: var(--wp--preset--color--text-primary);
								font-size: var(--wp--preset--font-size--caption);
								font-family: var(--wp--preset--font-family--body);
								font-style: normal;
								font-weight: var(--wp--custom--font-weight--semibold);
								line-height: normal;
								letter-spacing: 0.45px;

								svg {
									margin-right: 6px;
								}

								/* stylelint-disable-next-line */
								.tribe-events-schedule__separator, .tribe-events-schedule__timezone {
									color: var(--wp--preset--color--text-primary);
									font-size: var(--wp--preset--font-size--caption);
									font-weight: var(--wp--custom--font-weight--semibold);
								}
							}
						}
					}
				}

				.muse-event-metadata {
					margin: 0 !important;
					display: flex;
                    justify-content: space-between;
                    width: 100%;

					/* stylelint-disable-next-line */
					.tribe-block__events-link {
						padding: 0;

						.tribe-events {

							/* stylelint-disable-next-line */
							.tribe-events-c-subscribe-dropdown__container {

								.tribe-events-c-subscribe-dropdown {
									margin: 0;

									/* stylelint-disable-next-line */
									.tribe-events-c-subscribe-dropdown__button {
										display: flex;
										justify-content: center;
										align-items: center;
										padding: 10px 20px;
										gap: 10px;
										border-radius: var(--wp--preset--spacing--border-radius-beignets);
										background-color: var(--wp--preset--color--primary-main);
										color: var(--wp--preset--color--text-invert);

										button {
											font-size: var(--wp--preset--font-size--caption);
											font-family: var(--wp--preset--font-family--body);
											font-style: normal;
											font-weight: var(--wp--custom--font-weight--bold);
											line-height: 1.5;
											letter-spacing: 0.45px;
											text-transform: uppercase;
										}

										&:hover {
											background-color: var(--wp--preset--color--primary-dark);
										}
									}
								}
							}
						}
					}

					.muse-share-event {
						display: flex;
    					justify-content: center;
    					align-items: center;
						gap: 15px;

						p {
							font-size: var(--wp--preset--font-size--caption);
							font-family: var(--wp--preset--font-family--body);
							font-style: normal;
							font-weight: var(--wp--custom--font-weight--semibold);
							line-height: normal;
							letter-spacing: 0.45px;
							margin: 0;
							color: var(--wp--preset--color--text-secondary);
						}

						/* stylelint-disable-next-line */
						.wp-block-social-links {
							margin-top: 0;
							gap: 10px;

							/* stylelint-disable-next-line */
							svg {
								height: 38px;
								width: auto;
							}
						}
					}
				}

				.wp-block-post-featured-image {
					margin-top: 15px;
					width: 100%;

					img {
						object-fit: cover;
						height: 350px;
						border-radius: var(--wp--preset--spacing--border-radius-curve);
					}
				}

				/* stylelint-disable-next-line */
				.taxonomy-tribe_events_cat {
					margin-top: 0;
					display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    margin-left: 0 !important;
					padding: 0 15px;
					gap: 10px;

					a {
						padding: 4px 10px;
						border-radius: var(--wp--preset--spacing--border-radius-beignets);
						border: 1px solid var(--wp--preset--color--info-main);
						background-color: transparent;
						color: var(--wp--preset--color--info-main);
					}

					/* stylelint-disable-next-line */
					.wp-block-post-terms__separator {
						display: none;
					}
				}

				.muse-event-description {

					.wp-block-columns {
						gap: 30px;

						.wp-block-column {

							&:first-child {

								.wp-block-heading {
									color: var(--wp--preset--color--text-primary);
									font-family: var(--wp--preset--font-family--heading);
									font-size: var(--wp--preset--font-size--medium);
									font-style: normal;
									font-weight: var(--wp--custom--font-weight--medium);
									line-height: 1;
									letter-spacing: 0.9px;
								}

								p, li {
									color: var(--wp--preset--color--text-secondary);
									font-family: var(--wp--preset--font-family--body);
									font-size: var(--wp--preset--font-size--body-3);
									font-style: normal;
									font-weight: var(--wp--custom--font-weight--regular);
									line-height: 1.5;
									letter-spacing: 0.6px;
									margin-top: 15px;
								}

								/* stylelint-disable-next-line */
								.tribe-block__event-website {
									margin: 30px 0;
									display: flex;

									a {
										display: flex;
										padding: 10px 20px;
										justify-content: center;
										align-items: center;
										gap: 10px;
										border-radius: var(--wp--preset--spacing--border-radius-beignets);
										background-color: var(--wp--preset--color--primary-main);
										color: var(--wp--preset--color--text-invert) !important;
										font-size: var(--wp--preset--font-size--button);
										font-family: var(--wp--preset--font-family--body);
										font-style: normal;
										font-weight: var(--wp--custom--font-weight--bold);
										line-height: 1.5;
										letter-spacing: 0.45px;
										text-transform: uppercase;
										text-align: center;
										text-decoration: none;
										min-height: 24px;

										&:hover {
											background-color: var(--wp--preset--color--primary-dark);
										}
									}
								}
							}

							&:last-child {
								width: 33.33%;
								border-radius: 30px;
								background: var(--wp--preset--color--surface-paper);
								box-shadow: var(--wp--custom--shadow--hover);
								overflow: hidden;
								padding: 30px;
								flex-grow: 1;

								/* stylelint-disable-next-line */
								.tribe-block__venue--has-map {
									width: 100%;
									border: none;
									box-sizing: border-box;
									padding: 0;
									display: flex;
                                    flex-direction: column;

									/* stylelint-disable-next-line */
									.tribe-block__venue__meta {
										width: 100%;
										margin-right: 0;
										margin-bottom: 15px;

										/* stylelint-disable-next-line */
										.tribe-block__venue__name__text {
											font-style: normal;
											display: flex;
                                            flex-direction: column;
                                            gap: 10px;

											/* stylelint-disable-next-line */
											.tribe-block__venue__text {
												font-size: var(--wp--preset--font-size--x-small);
												font-family: var(--wp--preset--font-family--heading);
												font-weight: var(--wp--custom--font-weight--medium);
												line-height: 1.15;
												color: var(--wp--preset--color--primary-main);
											}

											/* stylelint-disable-next-line */
											.tribe-block__venue__address {
												font-family: var(--wp--preset--font-family--body);
												font-size: var(--wp--preset--font-size--caption);
												font-weight: var(--wp--custom--font-weight--semibold);
												line-height: normal;
												letter-spacing: 0.45px;
												color: var(--wp--preset--color--text-secondary);
											}
										}
									}

									/* stylelint-disable-next-line */
									.tribe-block__venue__map {
										width: 100%;
									}
								}

								/* stylelint-disable-next-line */
								.tribe-block__organizer__details {
									border-top: none;
									margin-top: 0;
									display: flex;
									flex-direction: column;
									gap: 30px;
									padding: 0;

									/* stylelint-disable-next-line */
									.tribe-block__organizer__title {

										h3 {
											font-size: var(--wp--preset--font-size--x-small);
											font-family: var(--wp--preset--font-family--heading);
											font-weight: var(--wp--custom--font-weight--medium);
											line-height: 1.15;
											color: var(--wp--preset--color--primary-main);
										}
									}

									/* stylelint-disable-next-line */
									.tribe-block__organizer__container {
										margin: 0;
										gap: 15px;
										display: flex;
										flex-direction: column;
									}

									&::after {
										display: none;
									}

									/* stylelint-disable-next-line */
									.tribe-block__organizer__label {
										color: var(--wp--preset--color--text-primary);
										font-family: var(--wp--preset--font-family--body);
										font-size: var(--wp--preset--font-size--caption);
										font-style: normal;
										font-weight: var(--wp--custom--font-weight--semibold);
										line-height: normal;
										letter-spacing: 0.45px;
									}

									/* stylelint-disable-next-line */
									.tribe-block__organizer__value  {
										color: var(--wp--preset--color--text-secondary);
										font-family: var(--wp--preset--font-family--body);
										font-size: var(--wp--preset--font-size--caption);
										font-style: normal;
										font-weight: var(--wp--custom--font-weight--semibold);
										line-height: normal;
										letter-spacing: 0.45px;

										a {
											color: var(--wp--preset--color--primary-main);
											text-decoration: none;
										}
									}
								}

								/* stylelint-disable-next-line */
								.tribe-block__events-link {
									flex-direction: column;
									justify-content: center;
									align-items: center;
									margin-top: 0;
									display: none;
								}
							}
						}
					}

					/* stylelint-disable-next-line */
					.tribe-block__events-link {
						padding: 0;

						.tribe-events {

							/* stylelint-disable-next-line */
							.tribe-events-c-subscribe-dropdown__container {

								.tribe-events-c-subscribe-dropdown {
									margin: 0;

									/* stylelint-disable-next-line */
									.tribe-events-c-subscribe-dropdown__button {
										display: flex;
										justify-content: center;
										align-items: center;
										padding: 10px 20px;
										gap: 10px;
										border-radius: var(--wp--preset--spacing--border-radius-beignets);
										background-color: var(--wp--preset--color--primary-main);
										color: var(--wp--preset--color--text-invert);

										button {
											font-size: var(--wp--preset--font-size--caption);
											font-family: var(--wp--preset--font-family--body);
											font-style: normal;
											font-weight: var(--wp--custom--font-weight--bold);
											line-height: 1.5;
											letter-spacing: 0.45px;
											text-transform: uppercase;
										}

										&:hover {
											background-color: var(--wp--preset--color--primary-dark);
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

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

	/* stylelint-disable-next-line */
	.single-tribe_events {

		.muse-event-post {
			gap: 15px;
			padding-left: 15px;
			padding-right: 15px;

			> .wp-block-group {
				padding-top: 30px !important;

				&.muse-event-meta {
					padding-top: 0 !important;

					h1 {

						&.wp-block-post-title {
							padding: 0 !important;
							font-size: var(--wp--preset--font-size--small);
						}
					}

					.tribe-events-schedule {
						background: none;
						border: none;
						padding: 0;

						/* stylelint-disable-next-line */
						.tribe-events-schedule__datetime {
							gap: 8px !important;

							svg {
								margin-right: 5px;
							}
						}
					}

					.muse-event-metadata {
						flex-direction: column;
						gap:15px;
						align-items: flex-start;
					}

					.wp-block-post-featured-image {
						height: 300px;
						display: flex;
						flex-direction: column;

						img {
							border-radius: var(--wp--preset--spacing--border-radius-curve);
						}
					}

					.muse-event-description {

						.wp-block-columns {

							/* stylelint-disable-next-line */
							.tribe-block__event-website {
								justify-content: center;
							}
						}
					}
				}
			}
		}
	}
}