
/* ── Card / box wrapper ─────────────────────────────────────────────── */
.cpWrapperWrapper {
	padding: 20px 0 40px;
	background-color: #f1f1f1;
}

.cpWrapper {
	padding: 24px;
	box-shadow: 0 2px 14px rgba(0,0,0,0.10);
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

/* ── 2-column layout without Bootstrap (native theme mode) ──────────── */
.page-thankyou_cp .cpWrapper > .row,
.page-thankyou_cp .cpWrapper .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -12px;
}

/* Outer card stacks: .cpTyTwoCol (two columns) then share/gift full width */
.page-thankyou_cp .cpWrapper {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.page-thankyou_cp .cpTyTwoCol {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.page-thankyou_cp .cpWrapper .cpLeftSide,
.page-thankyou_cp .cpWrapper .cpRightSide {
	flex: 0 0 50%;
	max-width: 50%;
	padding: 0 12px;
	box-sizing: border-box;
	min-width: 0;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide {
	overflow-x: hidden;
	overflow-y: visible;
}

/* FSE TY countdown: same as wi-ty-gb — inline-flex CTA must not outgrow left column */
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .tyCountdown,
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .ticketCDArea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide a.ticketCDAreaBTN.wi-fse-primary-cta.wi-ty-live-join-btn:not(.wi-ty-live-join-hidden) {
	display: inline-flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100%;
	min-width: 0 !important;
	box-sizing: border-box;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide a.wi-ty-live-join-btn.wi-ty-live-join-hidden {
	display: none !important;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .wi-ty-countdown-panel {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0;
	text-align: center;
	border-radius: 0;
	border: none;
	box-shadow: none;
	background: transparent none !important;
	background-color: transparent !important;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .ticketCDArea.ticketSection:has(.wi-ty-countdown-panel) {
	clear: both !important;
	display: flow-root;
	text-align: center;
	background: transparent none !important;
	background-color: transparent !important;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px !important;
	border-radius: 12px;
	padding: 20px 10px !important;
}
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .wi-ty-countdown-headline {
	margin: 0 0 0.65rem;
	font-weight: 600;
	line-height: 1.35;
	color: #191919;
	text-align: center !important;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .wi-ty-countdown-panel #defaultCountdown,
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .wi-ty-countdown-panel .hasCountdown {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .tyCountdown.ticketSection,
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .ticketCDArea.ticketSection {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* #A107 / #A111 — TY countdown grid; #A111b — tighter tile (number↔unit gap + height). */
.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .countdown_row {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	grid-template-rows: auto;
	gap: 0.35rem;
	width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	align-items: stretch;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .countdown_row .countdown_section {
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center !important;
	align-items: center;
	align-content: center;
	gap: 0;
	min-height: clamp(2.75rem, 7.5vmin, 4.1rem) !important;
	align-self: stretch;
	padding-top: clamp(0.2rem, 0.55vmin, 0.38rem) !important;
	padding-bottom: clamp(0.2rem, 0.55vmin, 0.38rem) !important;
	padding-left: clamp(0.35rem, 1vw, 0.5rem) !important;
	padding-right: clamp(0.35rem, 1vw, 0.5rem) !important;
	border-radius: 8px;
	background-color: var(--wp--preset--color--tertiary, var(--wp--preset--color--secondary, rgba(0, 0, 0, 0.06))) !important;
	color: var(--wp--preset--color--contrast, var(--wp--preset--color--foreground, #1d2327)) !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	text-shadow: none;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .countdown_amount {
	font-size: clamp(1.45rem, 4.5vw, 2.85rem);
	line-height: 1;
	padding: 0 !important;
	margin: 0 0 -0.1em;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpLeftSide .countdown_descr {
	font-size: clamp(0.62rem, 1.5vw, 0.8125rem);
	line-height: 1.05;
	margin: -0.38em 0 0;
	padding: 0;
	text-align: center;
}

/* cp.css .cpRightSide { margin-left: 4%; } overflows 50%+50% flex row on wide screens */
.page-thankyou_cp .cpWrapper .cpRightSide {
	margin-left: 0 !important;
	margin-top: 0 !important;
	width: auto !important;
}

/* Match left column first ticket row: ticketWrapper padding-top + first section margin-top (~36px) */
@media (min-width: 769px) {
	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:not(:has(iframe)):not(:has(video)) {
		padding-top: 2.25rem;
	}

	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:has(iframe),
	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:has(video) {
		padding-top: 1.25rem;
	}

	/* Add breathing room around TY video so it visually aligns with left ticket cards */
	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide .ctaArea.video {
		background: #fff !important;
		padding: 0.75rem !important;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 8px;
	}

	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide .ctaArea.video #wi_ctaVideo {
		margin: 0 0 0.75rem;
		border-radius: 6px;
		overflow: hidden;
	}
}

@media (max-width: 768px) {
	.page-thankyou_cp .cpTyTwoCol {
		flex-wrap: wrap;
	}

	.page-thankyou_cp .cpWrapper .cpLeftSide,
	.page-thankyou_cp .cpWrapper .cpRightSide {
		flex: 0 0 100%;
		max-width: 100%;
	}

	/* Stacked columns: space between ticket block and CTA / calendar (desktop rule is ≥769px only) */
	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:not(:has(iframe)):not(:has(video)) {
		padding-top: 1.75rem;
	}

	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:has(iframe),
	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide:has(video) {
		padding-top: 1rem;
	}

	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide .ctaArea.video #wi_ctaVideo {
		margin: 0 0 0.75rem;
		border-radius: 6px;
		overflow: hidden;
	}

	.page-thankyou_cp .cpWrapper .cpTyTwoCol .cpRightSide .ctaArea.video {
		background: #fff !important;
		padding: 0.5rem !important;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 8px;
	}
}

/* Legacy TY preview: disclaimer under CTA (admin preview URL) */
.page-thankyou_cp .wi_ty_preview_notice {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.02);
	text-align: center;
	font-size: 0.9375rem;
	color: #50575e;
}

.page-thankyou_cp .wi_ty_preview_notice p {
	margin: 0;
}

.headlineArea {
	padding: 0;
}

#storePhone{
	width: 100%;
}


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

	.salesWrapper{
		width: 320px;
	}
	.headlineArea{
		/* width: 300px; */
		/*padding-left: 20px;*/
		text-align: center;
	}
	.ctaRight{
		display: none !important;	
	}

	.bannerTop{
		width: 320px;
	}

	.bannerTop img{
		width: 320px;
	}

	.ctaRightMobile{
		display: block !important;
		margin-top: 15px;
	}

	#optName{
		background-position: 244px;
	}

	#optEmail{
		background-position: 244px;
	}

	#optinBTN{
		width: 278px;
		text-align: center;
		background-image: none;
	}

	.cpWrapper{
		/* width: 320px; */
		margin: 0 30px;
	}

	.ticketWrapper {
		padding: 20px;
	}

	.dateDayWeek{
		font-size: 9px !important;
		width: 50px !important;
	}
	.wi-btns-wrap{
		gap: 0px;
		flex-direction: column;
	}

	.cpDateUnder{
		width: 300px;
		padding-left: 20px;
	}

	.tyHeadlineIcon{
		/* display: none; */
		font-size: 10px;
	}

	.dateIcon {
		width: 64px !important;
		min-width: 64px !important;
		height: 70px !important;
		min-height: 70px !important;
		max-width: none !important;
		background-size: contain !important;
		background-position: center center !important;
		margin-left: 0 !important;
		overflow: visible !important;
	}
	.dateMonth{
		font-size: 10px !important;
		width: 50px !important;
		line-height: 4px !important;
	}

	.dateDay{
		width: 50px !important;
		font-size: 14px !important;
		line-height: 15px !important;
	}

	.dateHeadline {
		font-size: 16px !important;
		padding-top: 14px !important;
	}
	.dateSubHeadline{
		font-size: 14px !important;
	}

	.dateInfo{
		padding-left: 10px !important;
	}

	.ticketInfoIcon{
		width: 50px;
		margin-left: 0px;
	}

	.ticketInfoIcon2{
		width: 50px;
		margin-left: 0px;
	}

	.thankyou_cp_preview .ticketInfoCopy p, .thankyou_cp_preview .ticketInfoCopy2 p {
		font-size: 16px;
	}
	.ticketInfoNewHeadline {
		font-size: 14px;
	}
	.ticketInfoCopy{
		margin-left: 10px;
		width: 70%;
	}

	.ticketInfoCopy2{
		margin-left: 10px;
		width: 70%;
	}

	.tyHeadlineCopy{
		margin-bottom: 20px;
	}



	.remindersBlock{
		padding:20px 0;
		margin-left: 0px;
	}

	.hostInfoCopy{
		width: 100%;
		float: none;
		/*padding-left: 15px;*/
	}
	.hostInfoPhoto{
		margin-right: 20px;
	}

	.cpHostBlock{
		width: 100%;
		float: none;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #DDD;
	}

	.cpCopyArea{
		float: none;
		width: 100%;
	}

	.cpRightSide{
		/*float: none;*/
		margin-top: 20px;
	}

	.ctaArea{
		/* width: 278px; */
		margin-left: 0px;
	}

	.optinHeadline{
		text-align: center;
	}

	.cpWebinarURL{
		width: 278px;
		margin-left: 0px;
	}

	.addCalendar{
		width: 278px;
		margin-left: 0px;
	}

	.phoneReminder{
		width: 278px;
		padding-left: 0px;
		padding-right: 0px;
	}

	.phoneReminder .button{
		width: 100%;
	}

	.cpCopyTY{
		width: 228px;
	}

	#optPhone{
	}
}

@media (min-width: 490px) and (max-width: 820px) {

	.salesWrapper{
		width: 768px;
	}
	.headlineArea{
		/* width: 748px; */
		padding-left: 20px;
	}
	.ctaRight{
		display: none !important;	
	}

	.cpWrapper{
		/* width: 320px; */
		margin: 0 30px;
	}

	.bannerTop{
		width: 768px;
	}

	.bannerTop img{
		width: 768px;
	}

	.ctaRightMobile{
		display: block !important;
		margin-top: 15px;
	}



	/* .cpWrapper{
		width: 768px;
	} */

	.cpDateUnder{
		width: 748px;
		padding-left: 20px;
	}
	
	/* .cpLeftSide{
		width: 410px;
	} */

	/* .cpRightSide{
		width: 290px;
	} */

	/* .ctaArea{
		width: 290px;
	} */

	.hostInfoCopy{
		width: 620px;
	}

	.cpHostBlock{
		width: 100%;
		float: none;
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #DDD;
	}

	.cpCopyArea{
		float: none;
		width: 100%;
	}

	.cpCopyTY{
		float: none;
		width: 100%;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #DDD;
	}

	.addCalendar{
		width: 350px;
		float: left;
	}

	.phoneReminder{
		width: 310px;
		float: left;
		/*margin-left: 20px;*/
		margin-top: -10px;
	}

	.ticketInfoCopy{
		/*margin-left: 17px;*/
		width: 200px;
	}

	.ticketInfoCopy2{
		/*margin-left: 17px;*/
		width: 200px;
	}

}

@media (min-width: 768px){

    .ctaArea, .remindersBlock{
		margin-left: 10px;
    }

}

/* #A055 — HC thank-you (cp layout): match GB — uniform row icon tiles in left column. */
.page-thankyou_cp .cpTyTwoCol .cpLeftSide .eventDate.ticketSectionNew.ts,
.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketSection.ticketSectionNew.ts.newticketTest {
	align-items: center;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .dateIcon,
.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon,
.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon2 {
	width: 72px !important;
	min-width: 72px !important;
	max-width: 72px !important;
	height: 72px !important;
	min-height: 72px !important;
	max-height: 72px !important;
	flex-shrink: 0;
	box-sizing: border-box !important;
	display: flex !important;
	float: none !important;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .dateIcon {
	overflow: hidden;
	background-size: 82% auto !important;
	background-position: center center !important;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon,
.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon2 {
	overflow: visible;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin: 0 auto;
	transform: scale(1.52) !important;
	transform-origin: center center !important;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .ticketInfoIcon2 img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin: 0 auto;
	transform: scale(1.72, 1.48) !important;
	transform-origin: center center !important;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .webinarURLHeadline {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.page-thankyou_cp .cpTyTwoCol .cpLeftSide .webinarURLHeadline > i.icon-bookmark:first-of-type {
	flex: 0 0 72px;
	width: 72px !important;
	min-width: 72px !important;
	max-width: 72px !important;
	height: 72px !important;
	min-height: 72px !important;
	max-height: 72px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-size: 2rem !important;
	line-height: 1 !important;
}
