/* cms-text-block.css v1.0.2 */

/* ==========================================================================
   CMS Text Block
   ========================================================================== */

.cms-text-block {
	box-sizing: border-box;
	width: 100%;
}

.cms-text-block__inner {
	display: block;
	box-sizing: border-box;
}

/* Width variants */
.cms-text-block--width-full .cms-text-block__inner {
	width: 100%;
}

.cms-text-block--width-medium .cms-text-block__inner {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.cms-text-block--width-narrow .cms-text-block__inner {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Padding */
.cms-text-block--pad-small .cms-text-block__inner {
	padding: 15px 20px;
}

.cms-text-block--pad-medium .cms-text-block__inner {
	padding: 30px 20px;
}

.cms-text-block--pad-large .cms-text-block__inner {
	padding: 60px 20px;
}

/* Text alignment */
.cms-text-block--align-center {
	text-align: center;
}

.cms-text-block--align-right {
	text-align: right;
}

/* Border variants */
.cms-text-block--border-solid {
	border: 2px solid #d7b364;
}

.cms-text-block--border-rounded {
	border: 2px solid #d7b364;
	border-radius: 8px;
}

/* Text color variants */
.cms-text-block--color-light,
.cms-text-block--color-light .cms-text-block__heading,
.cms-text-block--color-light .cms-text-block__body,
.cms-text-block--color-light .cms-text-block__body p {
	color: #ffffff;
	text-shadow: 2px 2px 1px #000000;
}

.cms-text-block--color-gold .cms-text-block__heading {
	color: #d7b364;
}

/* ==========================================================================
   Icon layout — two-column flex when icon present
   ========================================================================== */

.cms-text-block--has-icon .cms-text-block__inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	gap: 20px;
}

.cms-text-block__icon {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	color: #d7b364;
	padding-top: 4px;
}

.cms-text-block__icon svg {
	width: 40px;
	height: 40px;
	display: block;
}

.cms-text-block--has-icon .cms-text-block__content {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	min-width: 0;
}

/* ==========================================================================
   Heading styles — matched to corsetmaking.com site typography
   ========================================================================== */

.cms-text-block__heading {
	margin-top: 0;
	margin-bottom: 12px;
}

/* Page Title — Crimson Text 35px 600 #3e3e3d */
.cms-text-block__heading--xl {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 35px;
	font-weight: 600;
	color: #3e3e3d;
	line-height: 1.2;
}

/* Section Title — Crimson Text 25px 500 #3e3e3d */
.cms-text-block__heading--large {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 25px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.25;
}

/* Content Header — Montserrat 18px 500 #3e3e3d */
.cms-text-block__heading--medium {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.3;
}

/* Label / Small — Montserrat 14px 500 #3e3e3d */
.cms-text-block__heading--small {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cms-text-block__heading a {
	color: inherit;
	text-decoration: none;
}

.cms-text-block__heading a:hover {
	color: #d7b364;
	text-decoration: underline;
}

/* ==========================================================================
   Body text
   ========================================================================== */

.cms-text-block__body {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #474b59;
	line-height: 1.7;
}

.cms-text-block__body p {
	margin-top: 0;
	margin-bottom: 14px;
}

.cms-text-block__body p:last-child {
	margin-bottom: 0;
}

.cms-text-block__body a {
	color: #d7b364;
	text-decoration: underline;
}

.cms-text-block__body a:hover {
	color: #333333;
}

/* ==========================================================================
   CTA button
   ========================================================================== */

.cms-text-block__cta {
	margin-top: 20px;
}

.cms-text-block__button {
	display: inline-block;
	padding: 10px 24px;
	background-color: #d7b364;
	color: #ffffff;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	-webkit-transition: background-color 0.2s ease;
	transition: background-color 0.2s ease;
}

.cms-text-block__button:hover {
	background-color: #4a3728;
	color: #ffffff;
	text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.cms-text-block__heading--xl {
		font-size: 28px;
	}

	.cms-text-block__heading--large {
		font-size: 22px;
	}

	.cms-text-block--has-icon .cms-text-block__inner {
		gap: 14px;
	}

	.cms-text-block__icon {
		width: 32px;
		height: 32px;
	}

	.cms-text-block__icon svg {
		width: 32px;
		height: 32px;
	}

	.cms-text-block--width-medium .cms-text-block__inner,
	.cms-text-block--width-narrow .cms-text-block__inner {
		max-width: 100%;
	}
}
