/**
 * How To Elope Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Main Container */
.how-to-elope {
	width: 100%;
	position: relative;
	padding: 4rem 0;
	background-color: #4C4C3B; /* Dark olive green */
	overflow: hidden;
}

.how-to-elope-container {
	width: 100%;
	max-width: 1119px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1px;
	position: relative;
}

/* Vertical Title */
.how-to-elope-vertical-title {
	position: relative;
	flex-shrink: 0;
	width: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 33px 0 0;
}

.how-to-elope-vertical-title-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	font-size: 35px;
	line-height: 41px;
	font-family: 'Sunrider';
	font-weight: 100;
	text-transform: uppercase;
	color: #F8F2DF; /* Light cream/beige */
	white-space: nowrap;
}

/* Content Wrapper */
.how-to-elope-content-wrapper {
	flex: 1;
	width: 100%;
}

/* Tabs Navigation */
.how-to-elope-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: -5px;
	padding: 0;
	list-style: none;
	position: relative;
	z-index: 0;
}

.how-to-elope-tab {
	position: relative;
	padding: 26px 15px 21px;
	font-size: 26px;
	line-height: 28px;
	font-family: 'Article Century';
	font-weight: 100;
	text-transform: uppercase;
	 /* Dark olive green */
	background-color: #C1B488; /* Light olive green/beige */
	border:2px solid #C1B488;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	border-bottom: none;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 1;
	margin-right: 7px;
	text-align: center;
	min-width: 155px;
	margin-bottom: 0;
	color: #F8F2DF;
}

.how-to-elope-tab:focus-visible {
	outline: 3px solid #BF9E74;
	outline-offset: 2px;
}

.how-to-elope-tab:hover {
	border:2px solid #F8F2DF;
}

.how-to-elope-tab-active {
	background-color: #D4B155; /* Golden yellow/mustard */
	border:2px solid #D4B155;
	color: #4C4C3B;
	z-index: 3;
	position: relative;
}

.how-to-elope-tab-text {
	display: block;
	font-size: 26px;
	font-weight: 100;
	margin: 0;
}

/* Tab Panels */
.how-to-elope-panels {
	position: relative;
	width: 100%;
	margin-top: -1px;
	background-color: #F8F2DF; /* Light cream/beige */
	background-image: url('../../assets/images/step-topo.png');
	background-size: cover;
	background-position: center;
	background-repeat: repeat;
	border-radius: 8px;
	padding: 73px 67px 0;
	min-height: 283px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.how-to-elope-panel {
	display: none;
}

.how-to-elope-panel-active {
	display: block;
}

.how-to-elope-panel-heading {
	margin: 2px 0 8px;
	font-size: 26px;
	line-height: 28px;
	font-family: 'Article Century';
	font-weight: 100;
	text-transform: uppercase;
	color: #4C4C3B; /* Dark olive green */
}

.how-to-elope-panel-content {
	 /* Dark olive green */
}

.how-to-elope-panel-content p {
	margin: 0 0 1rem;
	color: #4C4C3B;
	font-family: 'p22-mackinac-pro';
	font-size: 16px;
	line-height: 22px;
}

.how-to-elope-panel-content p:last-child {
	margin-bottom: 0;
}

/* Bottom Section */
.how-to-elope-bottom-section {
	text-align: center;
	margin-top: 0;
	padding-top: 34px;
}

.how-to-elope-bottom-text {
	font-size: 16px;
	line-height: 22px;
	font-family: 'p22-mackinac-pro';
	color: #F8F2DF; /* Light cream/beige */
	margin-bottom: 35px;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.how-to-elope-bottom-text p {
	margin: 0 0 1rem;
}

.how-to-elope-bottom-text p:last-child {
	margin-bottom: 0;
}

.how-to-elope-button-wrapper {
	margin-top: 1.5rem;
}

.how-to-elope-button {
	display: inline-block;
	padding: 5px 10px 3px;
	font-size: 15px;
	line-height: 18px;
	font-family: 'Sunrider';
	font-weight: 100;
	text-transform: uppercase;
	text-decoration: none;
	color: #4C4C3B; /* Dark olive green */
	background-color: #BF9E74; /* Golden yellow/mustard */
	border: 2px solid #4C4C3B;
	border-radius: 7px;
	transition: all 0.3s ease;
	cursor: pointer;
	letter-spacing: 0.01rem;
}

.how-to-elope-button:hover,
.how-to-elope-button:focus {
	transform: translateY(-2px);
	background:#F8F2DF;
}

.how-to-elope-button:active {
	transform: translateY(1px);
}

.how-to-elope-button:focus-visible {
	outline: 3px solid #BF9E74;
	outline-offset: 3px;
}

/* Responsive Design - Tablet (768px - 1024px) */
@media (max-width: 1024px) {
	.how-to-elope-vertical-title-text {
		transform: rotate(0deg);
		writing-mode: horizontal-tb;
		text-align:center;
		width:100%;
		display:block;
	}
	.how-to-elope-vertical-title {
		position:relative;
		display: block;
		text-align:center;
		width:100%;
		margin: 0 auto 30px;
	}
	.how-to-elope.has-background .how-to-elope-container {
		display:block;
		padding:0 50px;
	}
	.how-to-elope.has-background .how-to-elope-container {
    padding: 0 40px!important;
	}
}



/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.how-to-elope-tab {
		border: 2px solid #3d2817;
	}

	.how-to-elope-tab-active {
		border-width: 3px;
	}

	.how-to-elope-button {
		border-width: 3px;
	}

	.how-to-elope-panels {
		border: 2px solid #3d2817;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.how-to-elope-tab,
	.how-to-elope-button {
		transition: none;
	}

	.how-to-elope-button:active {
		transform: none;
	}
}

/* Print Styles */
@media print {
	.how-to-elope {
		padding: 1rem 0;
		background-color: #ffffff;
	}

	.how-to-elope-vertical-title {
		display: none;
	}

	.how-to-elope-tabs {
		display: none;
	}

	.how-to-elope-panel {
		display: block !important;
		page-break-inside: avoid;
		margin-bottom: 2rem;
	}

	.how-to-elope-panels {
		background-image: none;
		background-color: #ffffff;
		border: 1px solid #000000;
	}

	.how-to-elope-button {
		border: 1px solid #000000;
		background-color: #ffffff;
		color: #000000;
	}
}

/* Support for block wrapper color classes */
.how-to-elope.has-background {
	padding: 4.2rem 0 49px;
}

.how-to-elope.has-text-color .how-to-elope-vertical-title-text,
.how-to-elope.has-text-color .how-to-elope-tab,
.how-to-elope.has-text-color .how-to-elope-panel-heading,
.how-to-elope.has-text-color .how-to-elope-panel-content,
.how-to-elope.has-text-color .how-to-elope-bottom-text,
.how-to-elope.has-text-color .how-to-elope-button {
	color: inherit;
}

/* Ensure proper spacing when background color is applied */
.how-to-elope.has-background .how-to-elope-container {
	padding: 0 75px 0 0;
}

/* Focus styles for accessibility - ensure all interactive elements are accessible */
.how-to-elope-tab:focus,
.how-to-elope-button:focus {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

/* Screen reader only text (if needed) */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}




/* Responsive Design - Mobile (max-width: 767px) */
@media (max-width: 768px) {
	.how-to-elope-tab:nth-child(1), .how-to-elope-tab:nth-child(2) {
		width:48%;
	}
	.how-to-elope-tab {
		font-size:16px;
		min-width: 126px;
		padding: 11px 11px 6px;
		margin: 0 auto 10px;
	}
	.how-to-elope-tab-text {
font-size:16px;}
	.how-to-elope.has-background .how-to-elope-container {
	        padding: 0 0px !important;
			max-width:400px
    }
	.how-to-elope-panels {margin-top: 0;padding: 30px;text-align: center;}
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 550px) {
	.how-to-elope.has-background {
	    padding: 20px 0 30px;
	}
	.how-to-elope-vertical-title-text {
		font-size:30px;
		margin:20px auto 0
	}
	    .how-to-elope-panels {
        margin-top: 0;
        padding: 30px;
        text-align: center;
			height:auto;
			min-height:auto;
    }
}
@media (max-width:440px) {
	    .how-to-elope.has-background .how-to-elope-container {
        padding: 0 0px !important;
        max-width: 90%;
    }
	.how-to-elope-tab {
		width: 29%;
		min-width: auto;
		padding: 10px 0 6px;
	}
}






