/* --------------------- STEPWISE FLOWCHART ------------------- */
/* from university dev site; might be deletable later ??? */
/* two mods: step wrapper stretch to keep ratio = regardless of copy, and step item is pos relative to remove weird negative margins in the line */

.ds-process-steps { position: relative; width: 100%; overflow: hidden; }
.steps-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: stretch; column-gap: 30px; }
.step-item { display: flex; flex: 1 1 0px; min-width: 0; position: relative; text-decoration: none; }

/* connector line for desktop */
@media (min-width: 902px) {
	.steps-wrapper { justify-content: center !important; }
	.step-item:last-child {	margin-right: 15px; }
    .step-item:not(:last-child)::after {
		content: '';
		width: 30px;
		height: 8px;
		background-color: var(--light-gray, #e0e0e0);
		display: block;
		position: absolute;
		right: -30px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 4;
}}

.step-card {
    width: 100%;
    padding: 1.25rem;
    border-radius: 16px;
    position: relative;
    z-index: 3;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid transparent;
    box-sizing: border-box;
}
.step-card.is-clickable { transition: all 0.2s ease-in-out;	cursor: pointer; }
.step-arrow { transition: transform 0.2s ease-in-out; color: var(--fau-blue); font-weight: bold; }
.step-card h3 { font-family: var(--fau-heading), sans-serif; margin: 0 0 0.5rem 0; font-size: 2.4rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.step-card p { margin: 0; line-height: 1.5; font-size: 1.5rem; /*color: inherit;*/}
.step-label { margin-top: 1rem; font-size: 1.75rem; font-weight: 800; text-align: center; max-width: 280px; z-index: 3 }
.theme-primary .step-card { background: rgba(var(--fau-blue-rgb, 0, 45, 98), 0.1); border-color: var(--fau-blue); color: var(--fau-blue); }
.theme-primary .step-item:first-child .step-card { background: var(--fau-blue); color: #ffffff; }
.theme-primary .step-item:first-child .step-card .step-arrow { color: #ffffff }
.theme-secondary .step-card { background: rgba(var(--fau-red-rgb, 195, 33, 38), 0.1); border-color: var(--fau-red); color: var(--fau-blue); }
.theme-secondary .step-item:first-child .step-card { background: var(--fau-red); color: #ffffff; }
.theme-secondary .step-item:first-child .step-card .step-arrow { color: #ffffff }

/* animations */
.step-link:hover .step-card.is-clickable h3,
.step-link:hover .step-card.is-clickable p,
.step-link:hover .step-card.is-clickable .step-arrow,
.step-link:focus .step-card.is-clickable h3,
.step-link:focus .step-card.is-clickable p,
.step-link:focus .step-card.is-clickable .step-arrow,
.step-link:active .step-card.is-clickable h3,
.step-link:active .step-card.is-clickable p,
.step-link:active .step-card.is-clickable .step-arrow {
	color: #ffffff; text-decoration: none; }
.step-link:focus .step-card.is-clickable, .step-link:hover .step-card.is-clickable {
	background-color: var(--fau-blue); border-color: var(--fau-blue); transform: translateY(-4px); box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2); text-decoration: none; }
.step-link:hover .step-card.is-clickable .step-arrow { transform: translateX(4px) scale(1.2); }
/* -- clean steps upon hover -- */
.steps-wrapper:has(.step-link:not(:first-child):hover) .step-item:first-child .step-card { background: rgba(var(--fau-blue-rgb, 0, 45, 98), 0.1); border-color: var(--fau-blue); color: var(--fau-blue); }
.steps-wrapper:has(.step-link:not(:first-child):hover) .step-item:first-child .step-card h3,
.steps-wrapper:has(.step-link:not(:first-child):hover) .step-item:first-child .step-card p,
.steps-wrapper:has(.step-link:not(:first-child):hover) .step-item:first-child .step-arrow { color: var(--fau-blue); }
a.step-item, .step-link, .step-link:hover, .step-link:focus, .step-card h3, .step-card p, .step-arrow { text-decoration: none !important; }

/* mobile */
@media (max-width: 901px) {
    .steps-wrapper { flex-direction: column; column-gap: 0; align-items: center; }
    .step-item { flex: none; padding-bottom: 50px; max-width: 360px; width: 100%; }
    .step-card { width: 100%; }
    .step-item:not(:last-child)::after { width: 8px; height: 50px; margin: 0 auto; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
	.step-card p { margin: 0; line-height: 1.5; font-size: 1.75rem; /*color: inherit;*/}
}

/* tap state */
.step-link:active .step-card.is-clickable { background-color: var(--fau-blue); border-color: var(--fau-blue); transform: scale(0.98); }

/* --------------------- TESTIMONIAL CARDS ------------------- */
.testimonials-cards-grid {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 1.35rem;
    padding-top: 4rem;
	padding-bottom: 4rem;
	column-gap: 3.5rem;
    align-items: stretch;
}
.testimonials-card {
    flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	position: relative;
    background-color: var(--fau-blue);
    border-radius: 12px;
    padding: 0 !important;
	height: 100%;
    min-height: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* hover state*/
.testimonials-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,20,65,0.35); }

/* header for card */
.testimonials-card__details {
    display: flex;
    flex-direction: column;
	padding: 2rem 8.5rem 2.6rem 2rem;
	min-height: 13.5rem;
	text-align: left;
	width: 95%;
	box-sizing: border-box;
}
.testimonials-card__title{ display: block; font-family: var(--font-family-heading); font-size: var(--font-size-md); font-weight: var(--font-weight-bold); color: #ffffff; }
.testimonials-card__info { display: block; font-family: var(--font-family-body); font-size: 1.4rem; color: #f4f4f4; font-weight: 500; }
/* body for card */
.testimonials-card__body {
    display: flex;
    flex-direction: column;
    padding: 0rem 2rem 2.5rem;
    z-index: 2;
    flex: 1;
	position: relative;
}
.testimonials-card__text {
    font-size: 1.6rem;
	letter-spacing: -1%;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
	padding: 1rem;
    flex: 1;
    z-index: 2;
	text-align: left;
}
/* decorative quote icon and inset frame */
.testimonials-card__body::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
	bottom: 2rem;
    width: 60%;
    border-left: 2px solid rgba(255,255,255,0.3);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    border-radius: 0 0 0 12px; 
    pointer-events: none; 
}
.testimonials-card__quote-icon {
    font: 10rem/0.5 serif;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -1rem;
    left: 1rem;
    pointer-events: none;
}
/*--- avatar handling -- */
/* default circle avatars that are centered */
.testimonials-card__avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--light-gray, #e0e0e0);
    overflow: hidden;
    background: var(--dark-blue); 
    margin: 0 auto 1rem;
    display: block;
}
/* squared-off badge-like avatars */
.avatar-squared {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    border: 2px solid #DBEBFE;
    overflow: hidden;
    background: var(--dark-blue); 
	position: absolute;
	top: -1rem;
	right: -1rem;
    margin: 0 !important;
	z-index: 5;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.testimonials-card__avatar { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* -- mobile handling ---*/
@media (min-width: 769px) {
    .testimonials-card__avatar-wrapper:not(.avatar-squared) {
        position: absolute;
        top: -55px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
}
@media (max-width: 1070px) {
    .testimonials-cards-grid {
        flex-direction: column;
        align-items: center;
        padding-top: var(--space-lg); 
    }
	.testimonials-card { padding: 0 1.5rem 2rem; min-height: 200px }
    .testimonials-card__body::after { display: none }
}