/**
 * Dual Image/Text Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Main Block Container */
.dual-image-text {
	width: 100%;
	background-image: url('../../assets/images/large-topo2.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.dual-image-text-container {
	width: 100%;
	max-width: 1155px;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 128px;
	align-items: start;
}

/* Left Column - Text Content */
.dual-image-text-left {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Title */
.dual-image-text-title {
	margin: 20px 0 0px;
	font-size: 15px;
	font-weight: 100;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 18px;
	color: #C1B488!important;
	text-align: center;
	padding: 0 103px;
}

/* Subtitle */
.dual-image-text-subtitle {
	margin: 0;
	font-size: 26px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 28px;
	color: #4A4A4A;
	text-align: center;
}

/* Copy Box */
.dual-image-text-copy {
	margin: 7px 0 0;
	background-color: #F8F2DF;
	padding: 14px 43px 53px;
	border-radius: 8px;
	width: 100%;
	box-sizing: border-box;
}

.dual-image-text-copy p {
	margin: 20px 0;
	font-size: 16px;
	line-height: 22px;
	color: #4C4C3B!important;
	text-align: center;
}

.dual-image-text-copy p:last-child {
	margin-bottom: 0;
}

.dual-image-text-copy h1,
.dual-image-text-copy h2,
.dual-image-text-copy h3,
.dual-image-text-copy h4,
.dual-image-text-copy h5,
.dual-image-text-copy h6 {
	margin: 0 0 1rem;
	color: #654321;
	font-weight: 700;
}

.dual-image-text-copy a {
	color: #654321;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.dual-image-text-copy a:hover,
.dual-image-text-copy a:focus {
	color: #8B6F47;
	outline: 2px solid #8B6F47;
	outline-offset: 2px;
}

.dual-image-text-copy ul,
.dual-image-text-copy ol {
	margin: 0 0 1rem;
	padding-left: 1.5rem;
}

.dual-image-text-copy li {
	margin-bottom: 0.5rem;
}

/* Right Column - Images */
.dual-image-text-right {
	width: 100%;
	position: relative;
}

.dual-image-text-image-wrapper {
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
	height:702px;
}
.dual-image-text-image-wrapper:before {
	content:"";
	display:block;
	width:304px;
	height:403px;
	background:#C1B488;
	border-radius:12px;
	position:absolute;
	top: 7px;
	left: -37px;
}
.dual-image-text-image-wrapper:after {
	content:"";
	display:block;
	width: 302px;
	height:403px;
	background:#C1B488;
	border-radius:12px;
	position:absolute;
	bottom: -8px;
	right: -3px;
}

/* Image One (Background/Top) */
.dual-image-text-image-one {
	width: 304px;
	height: 403px;
	display: block;
	border-radius: 12px;
	object-fit: cover;
	object-position: center;
	position: relative;
	z-index: 1;
	margin: 0 0 0 -45px;
}

/* Image Two (Overlapping/Front) */
.dual-image-text-image-two {
	width: 304px;
	height: 403px;
	display: block;
	border-radius: 12px;
	object-fit: cover;
	object-position: center;
	position: absolute;
	bottom: 0;
	right: 4px;
	z-index: 2;
}

/* Support for block wrapper color classes */
.dual-image-text.has-background {
	padding: 36px 0 56px;
}

.dual-image-text.has-text-color .dual-image-text-title,
.dual-image-text.has-text-color .dual-image-text-subtitle,
.dual-image-text.has-text-color .dual-image-text-copy {
	color: inherit;
}

.dual-image-text.has-text-color .dual-image-text-copy p,
.dual-image-text.has-text-color .dual-image-text-copy h1,
.dual-image-text.has-text-color .dual-image-text-copy h2,
.dual-image-text.has-text-color .dual-image-text-copy h3,
.dual-image-text.has-text-color .dual-image-text-copy h4,
.dual-image-text.has-text-color .dual-image-text-copy h5,
.dual-image-text.has-text-color .dual-image-text-copy h6 {
	color: inherit;
}

/* Responsive Design - Tablet */
@media (max-width:1080px) {
	.dual-image-text-container {
		max-width:95%;
	}
}
@media (max-width:1024px) {
	.dual-image-text-container {
		flex-direction: column-reverse;
		display: flex;
		position: relative;
		max-width: 500px;
		gap: 50px;
	}
	.dual-image-text-right {
		max-width:500px;
		margin: 0 auto;
	}
	.dual-image-text-title {
		position:absolute;
		top:100px;
		right:0;
		width: 215px;
		text-align:right;
		padding: 0;
	}
	.dual-image-text-subtitle {
	position:absolute;
	top:500px;
	left: -42px;
	width: 211px;
	text-align:left;
	padding: 0;
	}
}

/* Extra Small Devices */
@media (max-width: 600px) {
	    .dual-image-text-right {
        max-width: 100%;
        margin: 0;
    }
	    .dual-image-text-title {
        position: absolute;
        top: 50px;
        right: 0;
        width: 50%;
        text-align: right;
        padding: 0;
    }
	.dual-image-text-subtitle {
        position: absolute;
        top: 304px;
        left: -42px;
        width: 45%;
        text-align: left;
        padding: 0;
        font-size: 16px;
        line-height: 1.2;
    }
	.dual-image-text-image-one {
		width:200px;
		height:250px;
	}
	.dual-image-text-image-wrapper {
		height:450px;
	}
	.dual-image-text-image-two {
		width:200px;
		height:250px;
	}
	.dual-image-text-image-wrapper:before, .dual-image-text-image-wrapper:after {
		width:200px;
		height:250px;
	}
    .dual-image-text-container {
        flex-direction: column-reverse;
        display: flex;
        position: relative;
        max-width: 300px;
        gap: 20px;
    }
	.dual-image-text-copy {
padding:10px;}
	.dual-image-text-copy p {
		font-size:14px;
		margin: 15px auto!important;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.dual-image-text-title {
		color: #000000;
	}

	.dual-image-text-subtitle {
		color: #000000;
	}

	.dual-image-text-copy {
		background-color: #FFFFFF;
		border: 2px solid #000000;
	}

	.dual-image-text-copy p,
	.dual-image-text-copy h1,
	.dual-image-text-copy h2,
	.dual-image-text-copy h3,
	.dual-image-text-copy h4,
	.dual-image-text-copy h5,
	.dual-image-text-copy h6 {
		color: #000000;
	}

	.dual-image-text-copy a {
		color: #0000FF;
	}

	.dual-image-text-image-one,
	.dual-image-text-image-two {
		border: 3px solid #000000;
		box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.4);
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.dual-image-text-copy a {
		transition: none;
	}

	.dual-image-text-image-one,
	.dual-image-text-image-two {
		transition: none;
	}
}

/* Print Styles */
@media print {
	.dual-image-text {
		background-color: #ffffff;
		padding: 1rem 0;
		page-break-inside: avoid;
	}

	.dual-image-text-container {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.dual-image-text-left {
		order: 1;
	}

	.dual-image-text-right {
		order: 2;
	}

	.dual-image-text-copy {
		background-color: #ffffff;
		border: 2px solid #000000;
		padding: 1rem;
		page-break-inside: avoid;
	}

	.dual-image-text-title,
	.dual-image-text-subtitle,
	.dual-image-text-copy p,
	.dual-image-text-copy h1,
	.dual-image-text-copy h2,
	.dual-image-text-copy h3,
	.dual-image-text-copy h4,
	.dual-image-text-copy h5,
	.dual-image-text-copy h6 {
		color: #000000;
	}

	.dual-image-text-copy a {
		color: #000000;
		text-decoration: underline;
	}

	.dual-image-text-image-wrapper {
		position: relative;
		padding-bottom: 0;
	}

	.dual-image-text-image-one,
	.dual-image-text-image-two {
		position: static;
		width: 100%;
		border: 2px solid #000000;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
		border-radius: 8px;
		margin-bottom: 1rem;
		page-break-inside: avoid;
	}
}


