/*===================== 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 #023366; background: #fff; padding: 12px; }
/* padding mods */
.content-card-padding-sm { padding: 12px; }
.content-card-padding-md { padding: 20px; }
.content-card-padding-lg { padding: 32px; }

/*--------------------------STACK OF CARDS!!!-------------------*/
/* maybe more like badges, they're stacked badges */
.card-stack { display: flex; flex-direction: column; gap: 0.625rem; }
.card-stack-pill {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.5rem 1.125rem 0.5rem 0.625rem;
    border-radius: 50px;
    background: rgba(var(--fau-blue-rgb, 0, 45, 98), 0.06);
    border: 1px solid rgba(var(--fau-blue-rgb, 0, 45, 98), 0.14);
}
.card-stack-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--fau-blue);
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.card-stack-label {
    font-weight: var(--font-weight-bold, 700);
    color: var(--fau-blue);
    font-size: 0.9375rem;
    line-height: 1.3;
}

/* --------------------- 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 }
}

/*------------------------ action cards or like grid displays  ------------------------*/
.action-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.content-card--action {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 1.25rem;
    line-height: 1;
    border: 1px solid var(--light-gray);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.content-card--action:hover,
.content-card--action:focus-within {
    border-color: var(--fau-blue);
    box-shadow: 0 2px 2px rgba(0, 51, 102, 0.4);
    transform: translateY(-2px);
}
.content-card--action:focus-within { box-shadow: var(--fau-focus-shadow); }
.content-card--action:focus-within .stretched-link:focus-visible { margin-bottom: .75rem; font-size: .9375rem; box-shadow: none !important; }
.action-card-title { font-size: 1rem; margin-top: .15rem; margin-bottom: 0.35rem; text-wrap: balance; }
.action-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--fau-red);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}
.action-card-link .material-symbols-rounded { font-size: 1.125rem; transition: transform 0.18s ease; }
.content-card--action:hover .action-card-link .material-symbols-rounded,
.content-card--action:focus-within .action-card-link .material-symbols-rounded { transform: translateX(3px); }

/* mobile */
@media (max-width: 991.98px) { .action-card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .action-card-grid, .action-card-grid--3 { grid-template-columns: 1fr; } }

/* --------------------- 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;
  }
} */