@layer components {
/* Executive cards (About page). 250x300 visual frame; the inner container
   sits inside that frame and the image fills the container. Sized in rems
   so the frame scales with user font-size preference; spacing from tokens. */
.app-executive {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-1);
    width: 100%;
    gap: var(--space-2);
}

.app-executive-profile {
    padding: var(--space-1);
}

.app-executive-card {
    width: 15.625rem;       /* 250px */
    min-width: 15.625rem;
    max-width: 15.625rem;
    height: 18.75rem;       /* 300px */
}

.app-executive-card-container {
    height: 80%;
    width: 80%;
    overflow: hidden;
    margin-inline: var(--space-1);
}

.app-executive-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Phones/tablets: stack the photo above the profile. Otherwise the fixed 250px
   image card stays put and the profile text is crushed into a narrow band beside
   it. 48rem matches the app's standard stacking breakpoint. */
@media (max-width: 48rem) {
    .app-executive {
        flex-direction: column;
        align-items: center;
    }

    .app-executive-profile {
        width: 100%;
    }
}

.app-contact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--app-background-color-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: var(--app-contact-card-width, 300px);
    max-width: var(--app-container-width, 300px);
    min-width: 300px;
    gap: 10px;
}

    .app-contact-card a {
        text-decoration: none;
        color: var(--app-brand-link-color, black);
    }
    /*.app-contact-card .icon {
    align-items: flex-start;
    margin: 0 40px auto 0;
}

.app-contact-card .icon {
    align-items: center;
    margin: 0 40px auto 0;
}
*/
    .app-card-link {
    }

    .app-card-link,
    .app-card-link:visited,
    .app-card-link:hover,
    .app-card-link:active,
    .app-card-link:focus {
        text-decoration: none;
        color: var(--app-brand-link-color, black);
    }


.app-quick-action-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    width: 100%;
    gap: 5px;
}
.app-quick-action-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5px 5px 5px 10px;
    border-radius: 0.5rem;
    background-color: var(--app-background-color-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 210px;
    height: 36px;
}
.app-quick-action-content {
    color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
}
.app-quick-action-header {
    color: black;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.00em;
    font-weight: 600;
    width: 100%;
    gap: 5px;
}

/* Account landing: the icon each card shows beside its heading. */
.app-account-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-md);
    background-color: var(--color-surface-alt);
    color: var(--color-accent);
    font-size: 1.25rem;
}

}
