/* BEGIN: Global styles */
/* 
 * ReDirection Youth - CSS Token Architecture 
 * Global Color Tokens & Theming Configuration 
 */
.separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation {
	padding: 0;
}

.grid-container {
	max-width: 100%;
}

/*
 * =========================================
 * Helpers
 * =========================================
 */
.rounded-sm {
	border-radius: var(--radius-sm-fallback);
}

.rounded-md {
	border-radius: var(--radius-md-fallback);
}

.rounded-lg {
	border-radius: var(--radius-lg-fallback);
}

.rounded-full {
	border-radius: var(--radius-full-fallback);
}

.p-md-margin p:not(:last-child) {
	margin-bottom: 0.5rem;
}

.p-md-margin p:last-child {
	margin-bottom: 0;
}

.body-m b,
.body-m strong {
	font-weight: 600;
}

.shrink-0 {
	flex-shrink: 0;
}

.flex-auto {
	flex: auto;
}

.abs-read-more {}

.module-link-img img {
	width: 100%;
}

.abs-read-more a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	font-size: 0;
	text-indent: -999px;
	overflow: hidden;
	white-space: nowrap;
}

.abs-read-more a:after {
	content: '';
	background: url('../images/chevron.svg') no-repeat center / 100% 100%;
	width: 1.75rem;
	height: 1.75rem;
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translate(0, -50%);
}
/* Accessibility: Focus styles for buttons */
.modular-link-box:focus .abs-read-more a,
.abs-read-more a:focus-visible {
	/*outline: 2px solid var(--accent-default);*/
	/*outline-offset: 2px;*/
	outline: none;
	box-shadow: none;
}
.modular-link-box:focus-within{
	border: 2px solid #6000A366;
	/*box-shadow: 0 2px 0 0 #6000A366 !important;*/
}

.info-box p, .info-box p:last-child {
	font-weight: 500;
}

.abs-fill {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.z-100 {
	z-index: 100;
}

.hide-text {
	font-size: 0;
	text-indent: -999px;
	overflow: hidden;
	white-space: nowrap;
}

.changeBgDarkOverlay {
	background-color: var(--surface-card);
	border: 1px solid var(--surface-card);
	text-decoration: unset;
}

.addGap {
	gap: 32px;
	margin-bottom: 0;
}

.has-full-size-img .wp-block-image,
.has-full-size-img .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mb-0 {
	margin-bottom: 0;
}
.unstyled-list {
	list-style: none;
	margin-left: 0;
}
.unstyled-list li {
	margin-bottom: 0.75rem;
}

@media only screen and (max-width: 1024.5px) {
	.col-1-2-3:last-child {
		width: 100%;
	}

	.adjustMargin {
		margin-bottom: 1rem;
	}

	.adjustBottomMargin {
		margin-bottom: 2rem;
	}

	.adjustPadding {
		padding-top: 1rem;
	}
}

@supports (corner-shape: superellipse(2)) {
	.rounded-sm {
		border-radius: var(--radius-sm-superellipse);
		corner-shape: superellipse(2);
	}

	.rounded-md {
		border-radius: var(--radius-md-superellipse);
		corner-shape: superellipse(2);
	}

	.rounded-lg {
		border-radius: var(--radius-lg-superellipse);
		corner-shape: superellipse(2);
	}

	.rounded-full {
		border-radius: var(--radius-full-superellipse);
		/*corner-shape: superellipse(2);*/
	}
}

/* Highlight text */
.info-highlight {
	color: var(--accent-text-tertiary);
}

.crisis-highlight {
	color: var(--crisis-text-primary);
}

/*
 * =========================================
 * SAMPLE COMPONENTS (Reference Patterns)
 * =========================================
 */

/* Card Component */
.ry-card {
	background-color: var(--color-bg-surface);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -1px var(--shadow-color-strong);

	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ry-card-title {
	color: var(--color-text-primary);
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1.25rem;
	font-weight: 600;
}

.ry-card-content {
	color: var(--color-text-secondary);
	font-size: 1rem;
	margin-bottom: 16px;
}

/* Button Component */
.ry-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-brand-primary);
	color: var(--color-text-on-brand);
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.ry-btn:hover {
	background-color: var(--color-brand-primary-hover);
}

.ry-btn:active {
	transform: scale(0.98);
}

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header, .site-info {
	background-color: transparent;
}

/* END: Global styles */
.c-slider-scale-block {
	margin-bottom: 30px;
}

.c-slider-scale__wrapper {
	position: relative;
	padding-bottom: 25px;
}

.c-slider-scale__input {
	width: 100%;
}

.c-slider-scale__visual-marks {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
	font-weight: 500;
}

.c-flip-card {
	perspective: 1000px;
	min-height: 300px;
	cursor: pointer;
	background-color: transparent;
}

.c-flip-card__inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	box-shadow: 0 4px 8px 0 var(--shadow-color-card);
}

.c-flip-card.is-flipped .c-flip-card__inner {
	transform: rotateY(180deg);
}

.c-flip-card__side {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-size: cover;
	background-position: center;
	padding: 20px;
}

.c-flip-card__side--front {
	background-color: var(--color-bg-card-front);
	color: var(--color-text-primary);
}

.c-flip-card__side--back {
	background-color: var(--color-bg-card-back);
	color: var(--color-text-on-brand);
	transform: rotateY(180deg);
}

/* Fallback/Default colors if no BG image */
.c-flip-card__overlay {
	position: absolute;
	inset: 0;
	background-color: var(--color-overlay);
	z-index: 1;
}

.c-flip-card__body {
	position: relative;
	z-index: 2;
}

/* CHECKLIST / CHECKBOX BLOCK (Structural Only) */
.c-checklist-block {
	margin: 30px 0;
}

.c-checklist__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c-checklist__item {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	padding: 8px 12px;
	border: 1px solid var(--color-border-alt);
	border-radius: 4px;
	color: var(--color-text-primary);
	transition: all 0.2s ease;
	user-select: none;
}

.c-checklist__item:hover {
	background-color: var(--color-bg-hover);
}

.c-checklist__item.is-checked {
	border-color: var(--color-brand-accent);
	background-color: var(--color-bg-active);
}

.c-checklist__box {
	width: 20px;
	height: 20px;
	border: 2px solid var(--color-border-input);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.c-checklist__item.is-checked .c-checklist__box {
	background-color: var(--color-brand-accent);
	border-color: var(--color-brand-accent);
}

.c-checklist__check-icon {
	width: 14px;
	height: 14px;
	color: var(--color-text-on-brand);
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.c-checklist__item.is-checked .c-checklist__check-icon {
	opacity: 1;
	transform: scale(1);
}

.c-checklist__footer {
	margin-top: 15px;
}

.c-checklist__clear {
	background: none;
	border: none;
	color: var(--color-brand-accent);
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font-size: 0.9em;
}

.c-checklist__clear:hover {
	color: var(--color-brand-accent-hover);
}

/* BRANCHING OPTIONS BLOCK (Structural Only) */
.c-branching-block {
	margin: 30px 0;
}

.c-branching__grid {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.c-branching__tile {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	padding: 15px 20px;
	border: 1px solid var(--color-border-alt);
	border-radius: 6px;
	transition: all 0.3s ease;
	background-color: var(--color-bg-main);
	color: var(--color-text-primary);
	user-select: none;
	font-weight: 600;
}

.c-branching-block[data-selection-style="color"] .c-branching__tile.is-selected {
	background-color: var(--color-brand-accent);
	color: var(--color-text-on-brand);
	border-color: var(--color-brand-accent);
}

.c-branching-block[data-selection-style="icon"] .c-branching__tile.is-selected {
	border-color: var(--color-brand-accent);
	background-color: var(--color-bg-active);
}

.c-branching__icon-box {
	width: 22px;
	height: 22px;
	border: 2px solid var(--color-border-input);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.c-branching__tile.is-selected .c-branching__icon-box {
	background-color: var(--color-brand-accent);
	border-color: var(--color-brand-accent);
}

.c-branching__check-icon {
	width: 14px;
	height: 14px;
	color: var(--color-text-on-brand);
	opacity: 0;
	transform: scale(0.5);
	transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.c-branching__tile.is-selected .c-branching__check-icon {
	opacity: 1;
	transform: scale(1);
}

.c-branching__response {
	transition: all 0.4s ease-out;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
}

.c-branching__response.is-visible {
	max-height: 1000px;
	opacity: 1;
	margin-top: 10px;
	padding: 15px 20px;
	background-color: var(--color-bg-hover);
	border-left: 4px solid var(--color-brand-accent);
	color: var(--color-text-secondary);
}

/* FLIP CARD GRID BLOCK (Structural Only) */
.c-flip-card-grid {
	display: grid !important;
	gap: 20px;
	margin: 30px 0;
	width: 100%;
}

/* Desktop Grid Columns - Specific Selectors */
.c-flip-card-grid.c-flip-card-grid--d1 {
	grid-template-columns: 1fr;
}

.c-flip-card-grid.c-flip-card-grid--d2 {
	grid-template-columns: repeat(2, 1fr);
}

.c-flip-card-grid.c-flip-card-grid--d3 {
	grid-template-columns: repeat(3, 1fr);
}

.c-flip-card-grid.c-flip-card-grid--d4 {
	grid-template-columns: repeat(4, 1fr);
}

.container {
	width: min(1440px, calc(100% - 2.5rem));
}
.blockquote{
	border-left: 0.25rem solid var(--surface-disabled);
	padding-left: 1rem;
}
ul.wp-block-list.grey-circle-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.wp-block-list.grey-circle-list li{
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
}
ul.wp-block-list.grey-circle-list li:last-child{
	margin-bottom: 0;
}
ul.wp-block-list.grey-circle-list li:before{
	content: '';
	position: absolute;
	top: 0.125rem;
	left: 0;
	border-radius: 100%;
	background: var(--surface-disabled);
	width: 1.5rem;
	height: 1.5rem;
}
/* List with arrow icon */
ul.wp-block-list.arrows-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.wp-block-list.arrows-list li{
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.5rem;
}
ul.wp-block-list.arrows-list li:last-child{
	margin-bottom: 0;
}
ul.wp-block-list.arrows-list li:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: url('../images/arrow-down.svg') no-repeat center / 100% 100%;
	width: 1.25rem;
	height: 1.25rem;
}
/* List with check circle icon */
ul.wp-block-list.check-circle-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.wp-block-list.check-circle-list li{
	position: relative;
	padding-left: 2.5rem;
	margin-bottom: 0.75rem;
}
ul.wp-block-list.check-circle-list li:last-child{
	margin-bottom: 0;
}
ul.wp-block-list.check-circle-list li:before{
	content: '';
	position: absolute;
	top: 0.275rem;
	left: 0;
	background: url('../images/check-circle.svg') no-repeat center / 100% 100%;
	width: 1.5rem;
	height: 1.5rem;
}
.text-pretty{
	text-wrap: pretty;
}
.feedback-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;

	text-decoration: none;
	color: inherit;

	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0 100%;
}
.feedback-link a:after {
	content: '';
	display: inline-block;
	background: url('../images/arrow.svg') no-repeat center / contain;
	width: 0.75rem;
	height: 0.75rem;
	flex-shrink: 0;
}
/* BEGIN: Tablet and desktop */
@media only screen and (min-width: 768px) {
	ul.wp-block-list.arrows-list li{
		padding-left: 2.5rem;
		margin-bottom: 0.75rem;
	}
	ul.wp-block-list.arrows-list li:before{
		top: 0;
		width: 1.75rem;
		height: 1.75rem;
	}
	.p-md-margin p:not(:last-child) {
		margin-bottom: 0.75rem;
	}

	.abs-read-more a:after {
		right: 2rem;
		width: 1.75rem;
		height: 1.75rem;
	}
	.blockquote{
		padding-left: 1.5rem;
	}
}

/* END: Tablet and desktop */

/* BEGIN: Desktop styles */
@media only screen and (min-width: 1024px) {
	.g-container {
		max-width: 796px;
	}
	.intro-hero h1 {
		max-width: 27.125rem;
	}
}

/* BEGIN: Desktop styles */

/* BEGIN: Large Desktop styles */

@media only screen and (min-width: 1440px) {
	.g-container {
		max-width: 59.75rem;
	}
}

/* BEGIN: Large Desktop styles */

/* BEGIN: Only mobile style */
@media only screen and (max-width: 768px) {
	.adjustGap {
		order: 2;
	}

	.adjustMargin {
		margin-bottom: 0.8rem;
	}

	.gb-element-63343b84 {
		column-gap: 1.5rem !important;
		display: flex !important;
		flex-direction: column !important;
		row-gap: 1.5rem !important;
		padding: 2rem 1.1rem 2.5rem 1.1rem !important;
	}

	.gb-element-eeaa8802 {
		display: flex;
		flex-direction: column;
		order: 2;
		width: 100% !important;
	}

	.gb-element-476b927d {
		display: flex;
		flex-direction: column;
		order: 1;
		width: 100% !important;
	}

	.gb-media-84c68dde {
		display: block;
		height: 400px !important;
	}

	.container {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	ul.wp-block-list.check-circle-list li{
		padding-left: 1.75rem;
		margin-bottom: 0.5rem;
	}
	ul.wp-block-list.check-circle-list li:before{
		width: 1.25rem;
		height: 1.25rem;
	}
	.unstyled-list li {
		margin-bottom: 0.5rem;
	}
}

@media only screen and (max-width: 767.5px) {
	.c-flip-card-grid.c-flip-card-grid--m1 {
		grid-template-columns: 1fr;
	}

	.c-flip-card-grid.c-flip-card-grid--m2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.has-btn a.wp-element-button,
	.btn {
		width: 100%;
	}

	.sm-fw,
	.wp-block-buttons.sm-fw>.wp-block-button {
		width: 100%;
	}

	.sm-no-br br {
		display: none;
	}

	.adjustGap {
		order: 2;
	}

	.gb-element-d0bea7f2 {
		display: block !important;
	}

	.changeWidth {
		min-width: 100% !important;
	}

	.changeWidth {
		font-size: 1.22rem !important;
		height: 3.5rem !important
	}

	.gb-media-84c68dde {
		height: 200px !important;
	}

	.abs-read-more a:after {
		right: 1rem;
		width: 1.1rem;
		height: 1.1rem;
	}

	/*.body-s {*/
	/*	font-size: 0.818rem;*/
	/*}*/

	/*.body-m {*/
	/*	font-size: 0.93rem;*/
	/*}*/

	.chat-bubble__content.body-s {
		font-size: 0.93rem;
	}

}

/* END: Only mobile style */

@media only screen and (max-width: 1023.5px) {}

/* Tablet Adjustments (Default to 2 cols if desktop is 3 or 4) */
/* BEGIN: Tablet and mobile styles */
@media screen and (min-width: 768px) and (max-width: 1023.5px) {

	.c-flip-card-grid.c-flip-card-grid--d3,
	.c-flip-card-grid.c-flip-card-grid--d4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.tablet-no-br br {
		display: none;
	}
}

/* END: Tablet and mobile styles */

/* BEGIN: Flex responsive */
html {
	font-size: 4.266vw;
}

@media only screen and (min-width: 768px) {
	html {
		font-size: 2.08333vw;
	}
}

@media only screen and (min-width: 1024px) {
	html {
		font-size: 1.1111vw;
	}
}

@media only screen and (min-width: 1440px) {
	html {
		font-size: 16px;
	}
}

/* END: Flex responsive */