/*===================== CARDS FOR ALL OCCASIONS ================*/
/*         custom cards based on the university-wide ones       */
/*           mostly for like tighter/supporting details         */
/*==============================================================*/

/*------------------------ CONTENT CARD ------------------------*/
/* base */
.content-card {
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
	width: 100%;
	min-width: 0;
    position: relative;
    overflow: hidden;
}
.content-card--outlined { border: 2px solid #036; background: #fff; padding: 12px; }
/* padding mods */
.content-card-padding-sm { padding: 12px; }
.content-card-padding-md { padding: 20px; }
.content-card-padding-lg { padding: 32px; }

/*---------------------- STATISTICS CARDS ----------------------*/
.statistics-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}
.statistics-card { border: 1px solid var(--light-gray); flex-direction: column; }
.statistics-card-body { display: flex; flex-direction: column; row-gap: 12px; flex: 1; }
.statistics-card-heading { font-size: 1.2rem; font-weight: 800; color: var(--fau-blue); line-height: 1.2; min-height:2.4em; overflow-wrap: break-word; }
.statistics-card-label { color: var(--fau-blue); font-weight: 700; }
.statistics-card-value { font-size: 3rem; line-height: 1; font-weight: 900; color: var(--fau-blue); }
.statistics-card-metadata { display: grid; grid-template-columns: 1fr auto; column-gap:1rem; justify-content: space-between; align-items: start; flex: 1; }

.statistics-card-comparison-track {
    width: 100%;
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 999px;
    overflow: hidden;
}
.statistics-card-comparison-fill {
    height: 100%;
    background-color: var(--fau-blue);
    border-radius: 999px;
    min-width: 4px;
}

/* -- mobile handling ---*/
@media (max-width: 620px) {
    .statistics-card-grid { grid-template-columns: 1fr; }
    .statistics-card-metadata { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; }
    .statistics-card-value { justify-self: end; } }

/* --------------------- STEPWISE FLOWCHART ------------------- */
/* based on university comp, all the stylings and etc are the same but this has extra animation, accessibility, hover cleanup, linkable comps + responsiveness */
/* 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: 2;
}}
.step-card {
    padding: 1.25rem;
    border-radius: 16px;
    z-index: 1;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid transparent;
}
.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-heading { 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-description { 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 .step-card-heading,
.step-link:hover .step-card.is-clickable .step-card-description,
.step-link:hover .step-card.is-clickable .step-arrow,
.step-link:focus .step-card.is-clickable .step-card-heading,
.step-link:focus .step-card.is-clickable .step-card-description,
.step-link:focus .step-card.is-clickable .step-arrow,
.step-link:active .step-card.is-clickable .step-card-description,
.step-link:active .step-card.is-clickable .step-card-heading,
.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-heading,
.steps-wrapper:has(.step-link:not(:first-child):hover) .step-item:first-child .step-card-description,
.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-heading, .step-card-description, .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-description { 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); }

/* ----------- feature card: dark bg with rounded corners and drop shadow ---------*/
/* we take the testimonials card to a higher level of abstraction */
.feature-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;
}
.feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 340px;
    min-width: 0;
}
.feature-card--dark {
    background-color: var(--fau-blue);
    color: #fff;
}
.feature-card--dark h2{
    color: #fff;
}
@media (max-width: 1070px) {
    .feature-cards-grid {
        flex-direction: column;
        align-items: center;
        padding-top: var(--space-lg); 
    }
}

/* --------------------- TESTIMONIAL CARDS ------------------- */
.feature-card--testimonial {
	overflow: visible;
}

/* header */
.feature-card--testimonial .feature-card-details {
    display: flex;
    flex-direction: column;
	padding: 2rem 8.5rem 2.6rem 2rem;
	min-height: 13.5rem;
	text-align: left;
	width: 95%;
}
.feature-card--testimonial .feature-card-title{ display: block; font-family: var(--font-family-heading); font-size: var(--font-size-md); font-weight: var(--font-weight-bold); color: #ffffff; }
.feature-card--testimonial .feature-card-info { display: block; font-family: var(--font-family-body); font-size: 1.4rem; color: #f4f4f4; font-weight: 500; }
/* body for card */
.feature-card--testimonial .feature-card-body {
    display: flex;
    flex-direction: column;
    padding: 0rem 2rem 2.5rem;
    z-index: 2;
    flex: 1;
	position: relative;
}
.feature-card--testimonial .feature-card-text {
    font-size: 1.6rem;
	letter-spacing: -1%;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
	padding: 1rem;
    flex: 1;
    z-index: 1;
	text-align: left;
}
/* decorative quote icon and inset frame */
.feature-card--testimonial .feature-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; 
}
.feature-card--testimonial .feature-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 */
.feature-card--testimonial .feature-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;
    z-index: 2;
}
/* squared-off badge-like avatars */
.feature-card--testimonial .feature-card-avatar-wrapper--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: 2;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.feature-card--testimonial .feature-card-avatar { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; z-index: 1;}

/* -- mobile handling ---*/
@media (min-width: 769px) {
    .feature-card--testimonial .feature-card-avatar-wrapper:not(.feature-card-avatar-wrapper--squared) {
        position: absolute;
        top: -55px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
}
@media (max-width: 1070px) {
    .feature-card--testimonial { padding: 0 1.5rem 2rem; min-height: 200px }
    .feature-card--testimonial .feature-card-body::after { display: none }
}

/* --------------------- TIMELINE CARDS ------------------- */
/* to do... for the awrds page */
/*
.timeline-card-anchor {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: block;
}

.timeline-card-body {
    display: flex;
}

.timeline-card-body .image-section {
    order: 2;
}

.timeline-card-body .text-section {
    order: 1;
}

@media screen and (min-width: 990px) {
  .online-card-body .image-section {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    transition-duration: 0.1s;
  }

  .online-card-body .text-section {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 30px;
    transition-duration: 0.1s;
  }

  .online-card-anchor:hover .image-section {
    margin-top: 5px;
    margin-bottom: 15px;
    margin-right: 15px;
    box-shadow: 5px 5px 2.5px grey;
  }

  .online-card-anchor:hover .text-section {
    margin-top: 25px;
    margin-bottom: 35px;
    margin-left: 25px;
    box-shadow: 5px 5px 2.5px grey;
  }
} */