/**
 * Image & Copy V3 Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Screen reader text for accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* Image & Copy V3 Container */
.image-copy-v3 {
	width: 100%;
	padding: 0;
}

.image-copy-v3-container {
	display: flex;
	align-items: stretch;
	gap: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	height: 659px;
}

/* Image Position - Left (default) */
.image-copy-v3-image-left {
	flex-direction: row;
}

/* Image Position - Right */
.image-copy-v3-image-right {
	flex-direction: row-reverse;
}

/* Image Wrapper */
.image-copy-v3-image-wrapper {
	flex: 0 0 var(--image-width, 50%);
	max-width: var(--image-width, 50%);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: stretch;
}

.image-copy-v3-image {
	width: 100%;
	height: 100%;
	max-height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

/* Content Wrapper */
.image-copy-v3-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 3rem 2.5rem;
}

/* Copy */
.image-caption .image-copy-v3-copy {
	padding-bottom:0;
	padding-top: 25px;
}
.image-copy-v3-image-right .image-copy-v3-copy  {
    max-width: 518px;
    padding-right: 50px;
}
.icon-list .image-copy-v3-image-right .image-copy-v3-copy  {
    max-width: 518px;
    padding-right: 10px;
    margin-top: 107px;
}
.icon-list .image-copy-v3-image-right .image-copy-v3-copy ul {
	list-style:none;
	padding:0;
	font-size:15px;
	text-transform:uppercase;
	letter-spacing: 0.14rem;
	margin: 35px 0 0;
}
.icon-list .image-copy-v3-image-right .image-copy-v3-copy ul li img {
	width: 17px;
	height: 16px;
	margin: 0 18px 0 0;
	object-fit: contain;
}
.icon-list .image-copy-v3-image-right .image-copy-v3-copy ul li {
	margin-bottom:30px;
}
.image-copy-v3-copy {
	font-size: 17px;
	line-height: 27px;
	max-width: 512px;
	margin: 0 auto;
	padding-bottom: 70px;
}
.image-copy-v3-copy pre {
	font-size:10px;
	font-family:'Inter';
	opacity:0.4;
	margin: 40px 0 0;
}

.image-copy-v3-copy p {
	margin: 0 0 25px 0;
	font-size: 17px;
	line-height: 27px;
}

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

.image-copy-v3-copy h1,
.image-copy-v3-copy h2,
.image-copy-v3-copy h3,
.image-copy-v3-copy h4,
.image-copy-v3-copy h5,
.image-copy-v3-copy h6 {
	margin-top: 0;
	margin-bottom: 1rem;
	line-height: 1.2;
}
.image-copy-v3-copy a {
	text-decoration:none;
}
.image-caption .image-copy-v3-copy h2 {
	margin-bottom:20px;
}
.image-copy-v3-copy h2 {
	font-size:74px;
	line-height: 77px;
	margin-bottom:30px;
}
.smaller-title .image-copy-v3-copy h2  {
	font-size:56px;
	line-height:62px;
}
.image-copy-v3-copy h5 {
    font-size: 44px;
    line-height: 22px;
    margin-top: 50px;
    letter-spacing: 0;
}
.image-copy-v3-copy h5 strong {
	font-size: 20px;
    letter-spacing: 0;
    font-weight: 100;
}
.image-copy-v3-copy h1:last-child,
.image-copy-v3-copy h2:last-child,
.image-copy-v3-copy h3:last-child,
.image-copy-v3-copy h4:last-child,
.image-copy-v3-copy h5:last-child,
.image-copy-v3-copy h6:last-child {
	margin-bottom: 0;
}

/* Button Wrapper */
.image-copy-v3-button-wrapper {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 518px;
	padding-right: 50px;
	margin: -15px auto 0;
	min-width: 518px;
}

/* Button */
.image-copy-v3-button {
border: none;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 31px;
	background-color: #013D36;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	font-size: 14px;
	font-weight: 100;
	letter-spacing: 0.12rem;
	height: 57px;
	width: fit-content;
}

.image-copy-v3-button:hover,
.image-copy-v3-button:focus {
	background-color: #6B7861;
}
/* Button Icon Wrapper */
.image-copy-v3-button-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Button Icon */
.image-copy-v3-button-icon {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
}

.image-copy-v3-button-icon.fa-regular,
.image-copy-v3-button-icon.fa-solid {
	font-size: 1.25rem;
	line-height: 1;
}

/* Button Text */
.image-copy-v3-button-text {
	white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
	.image-copy-v3-container {
		flex-direction: column;
		gap: 0;
		min-height: auto;
		height: auto;
	}

	.mobile-reverse .image-copy-v3-container  {
		flex-direction:column-reverse;
	}
	.image-copy-v3-image-wrapper {
		flex: 1 1 100%;
		max-width: 100%;
		width: 100%;
		height: auto;
		min-height: 250px;
		aspect-ratio: 1/1;
	}

	.image-copy-v3-image {
		height: auto;
		min-height: 250px;
		max-height: max-content;
		aspect-ratio: 1/1;
	}

	.image-copy-v3-content {
		flex: 1 1 100%;
		width: 100%;
		padding: 2rem 1.5rem;
	}

	.image-copy-v3-copy, .image-copy-v3-image-right .image-copy-v3-copy {
		max-width: 100%;
		padding: 0 0 50px;
	}
	.icon-list .image-copy-v3-image-right .image-copy-v3-copy {
	    max-width: 100%;
	    padding-right: 10px;
	    margin-top: 27px;
	    padding-bottom: revert-layer;
	} 
	.image-copy-v3-button-wrapper {
		flex-direction: column;
		width: 100%;
		padding: 0;
		margin: -20px 0 0;
		min-width: fit-content;
	}

	.image-copy-v3-button {
		width: fit-content;
		justify-content: center;
	}
	.image-copy-v3-copy h2 {
	font-size:61px;
	line-height: 71px;
	margin-bottom:20px;
}
}

@media (max-width: 500px) {
	.image-copy-v3-image {
		min-height: 200px;
		aspect-ratio: auto;
		height: auto;
	}
	.image-caption .image-copy-v3-copy {
		position:relative;
	}
	.image-copy-v3-copy pre {
		position:absolute;
		top:-65px;
		left:0;
	}
	    .image-copy-v3-content {
        flex: 1 1 100%;
        width: 100%;
        padding: 40px 30px 20px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	.image-copy-v3-button {
		transition: none;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.image-copy-v3-button {
		border: 2px solid currentColor;
	}
}

/* Print Styles */
@media print {
	.image-copy-v3 {
		background-color: #ffffff;
		padding: 1rem 0;
	}

	.image-copy-v3-container {
		flex-direction: column;
		gap: 1rem;
		min-height: auto;
	}

	.image-copy-v3-image-wrapper {
		max-width: 100%;
		height: auto;
	}

	.image-copy-v3-image {
		height: auto;
		max-height: none;
	}

	.image-copy-v3-content {
		padding: 1rem;
	}

	.image-copy-v3-button {
		background-color: #000000;
		color: #ffffff;
		border: 1px solid #000000;
		text-decoration: underline;
	}
}

